deprecate master and node subcommands (#812)

* deprecate master and node subcommands

* deprecate master and node subcommands
This commit is contained in:
Neha Viswanathan
2021-02-23 06:23:55 -08:00
committed by GitHub
parent bc21212980
commit b2d481812f
4 changed files with 4 additions and 2 deletions

View File

@@ -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() {

View File

@@ -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() {