mirror of
https://github.com/helm/helm.git
synced 2026-02-03 20:39:45 -05:00
Update pkg/plugin/plugin.go
Co-authored-by: George Jenkins <gvjenkins@gmail.com> Signed-off-by: Benoit Tigeot <benoittgt@users.noreply.github.com>
This commit is contained in:
parent
5d9d9a0fb8
commit
cda0865d64
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue