mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-11 14:11:14 +00:00
comment change from t.Fatal to panic
This commit is contained in:
@@ -152,7 +152,7 @@ func StartTestServer(ctx context.Context, customFlags []string) (result TestServ
|
||||
return result, nil
|
||||
}
|
||||
|
||||
// StartTestServerOrDie calls StartTestServer t.Fatal if it does not succeed.
|
||||
// StartTestServerOrDie calls StartTestServer panic if it does not succeed.
|
||||
func StartTestServerOrDie(ctx context.Context, flags []string) *TestServer {
|
||||
result, err := StartTestServer(ctx, flags)
|
||||
if err == nil {
|
||||
|
Reference in New Issue
Block a user