From cda0865d64a4deec682fd044aa4412eb9ab643db Mon Sep 17 00:00:00 2001 From: Benoit Tigeot Date: Wed, 21 May 2025 09:45:40 +0200 Subject: [PATCH] Update pkg/plugin/plugin.go Co-authored-by: George Jenkins Signed-off-by: Benoit Tigeot --- pkg/plugin/plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/plugin/plugin.go b/pkg/plugin/plugin.go index df5ec2ccc..a00bdb5e3 100644 --- a/pkg/plugin/plugin.go +++ b/pkg/plugin/plugin.go @@ -266,7 +266,7 @@ func validatePluginData(plug *Plugin, filepath string) error { plug.Metadata.Usage = sanitizeString(plug.Metadata.Usage) if len(plug.Metadata.PlatformCommand) > 0 && len(plug.Metadata.Command) > 0 { - fmt.Printf("both platformCommand and command are set in %q. It's deprecated and will not be possible in Helm v4\n", filepath) + fmt.Printf("WARNING: both 'platformCommand' and 'command' are set in %q (this will become an error in a future Helm version)\n", filepath) } if len(plug.Metadata.PlatformHooks) > 0 && len(plug.Metadata.Hooks) > 0 {