diff --git a/kubernetes-go/main.go b/kubernetes-go/main.go index 12d9a0200..b330ced07 100644 --- a/kubernetes-go/main.go +++ b/kubernetes-go/main.go @@ -37,7 +37,7 @@ func main() { return err } - ctx.Export("name", deployment.Metadata.Elem().Name()) + ctx.Export("name", deployment.Metadata.Name()) return nil })