Skip to content

Commit e8bfa0e

Browse files
benoittgtgjenkins8
authored andcommitted
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 dce60ad)
1 parent 24b4490 commit e8bfa0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/plugin/plugin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ func validatePluginData(plug *Plugin, filepath string) error {
270270
}
271271

272272
if len(plug.Metadata.PlatformHooks) > 0 && len(plug.Metadata.Hooks) > 0 {
273-
fmt.Printf("both platformHooks and hooks are set in %q. It's deprecated and will not be possible in Helm v4\n", filepath)
273+
fmt.Printf("WARNING: both 'platformHooks' and 'hooks' are set in %q (this will become an error in a future Helm version)\n", filepath)
274274
}
275275

276276
// We could also validate SemVer, executable, and other fields should we so choose.

0 commit comments

Comments
 (0)