mirror of
https://github.com/helm/helm.git
synced 2026-06-24 08:48:06 +00:00
Update pkg/plugin/plugin.go
Co-authored-by: George Jenkins <gvjenkins@gmail.com>
Signed-off-by: Benoit Tigeot <benoittgt@users.noreply.github.com>
(cherry picked from commit dce60adb51)
This commit is contained in:
committed by
Matt Farina
parent
24b44902a2
commit
e8bfa0eed6
@@ -270,7 +270,7 @@ func validatePluginData(plug *Plugin, filepath string) error {
|
||||
}
|
||||
|
||||
if len(plug.Metadata.PlatformHooks) > 0 && len(plug.Metadata.Hooks) > 0 {
|
||||
fmt.Printf("both platformHooks and hooks are set in %q. It's deprecated and will not be possible in Helm v4\n", filepath)
|
||||
fmt.Printf("WARNING: both 'platformHooks' and 'hooks' are set in %q (this will become an error in a future Helm version)\n", filepath)
|
||||
}
|
||||
|
||||
// We could also validate SemVer, executable, and other fields should we so choose.
|
||||
|
||||
Reference in New Issue
Block a user