mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
Remove duplicate error messages
Remove duplicate error messages when command fails
This commit is contained in:
parent
f978c4cab5
commit
fd9dd13cc2
@ -151,7 +151,6 @@ func newCommand() *cobra.Command {
|
|||||||
func main() {
|
func main() {
|
||||||
command := newCommand()
|
command := newCommand()
|
||||||
if err := command.Execute(); err != nil {
|
if err := command.Execute(); err != nil {
|
||||||
fmt.Fprintf(os.Stderr, "error: %v\n", err)
|
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user