Skip to content

Commit

Permalink
Fix kubernetes-go template (#645)
Browse files Browse the repository at this point in the history
The template uses a property (`deployment.Metadata.Elem`) which is apparently no longer valid.
  • Loading branch information
cnunciato authored Sep 12, 2023
1 parent fc6c810 commit 540e8dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubernetes-go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func main() {
return err
}

ctx.Export("name", deployment.Metadata.Elem().Name())
ctx.Export("name", deployment.Metadata.Name())

return nil
})
Expand Down

0 comments on commit 540e8dc

Please sign in to comment.