mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 19:28:16 +00:00
Rectify kubectl error output
This commit is contained in:
committed by
Dr. Stefan Schimanski
parent
ce7f003f57
commit
6dcb0c9130
@@ -46,8 +46,8 @@ import (
|
||||
)
|
||||
|
||||
func initTestErrorHandler(t *testing.T) {
|
||||
cmdutil.BehaviorOnFatal(func(str string) {
|
||||
t.Errorf("Error running command: %s", str)
|
||||
cmdutil.BehaviorOnFatal(func(str string, code int) {
|
||||
t.Errorf("Error running command (exit code %d): %s", code, str)
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user