mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2026-02-14 10:00:14 +00:00
deprecate master and node subcommands (#812)
* deprecate master and node subcommands * deprecate master and node subcommands
This commit is contained in:
@@ -37,6 +37,7 @@ var masterCmd = &cobra.Command{
|
||||
runChecks(check.MASTER, filename)
|
||||
writeOutput(controlsCollection)
|
||||
},
|
||||
Deprecated: "this command will be retired soon. Please use the `run` command with `--targets=master` instead.",
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
||||
@@ -37,6 +37,7 @@ var nodeCmd = &cobra.Command{
|
||||
runChecks(check.NODE, filename)
|
||||
writeOutput(controlsCollection)
|
||||
},
|
||||
Deprecated: "this command will be retired soon. Please use the `run` command with `--targets=node` instead.",
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
||||
Reference in New Issue
Block a user