fix code format issues

Signed-off-by: Jeff <jeffzhang@yunify.com>
This commit is contained in:
Jeff
2021-03-01 15:21:15 +08:00
parent 12f8407218
commit a2ede11ee7
2 changed files with 14 additions and 14 deletions

View File

@@ -111,9 +111,9 @@ func SetupTest(ctx context.Context) *corev1.Namespace {
selector, _ := labels.Parse("app.kubernetes.io/name,!kubesphere.io/creator")
reconciler := &ApplicationReconciler{
Client: mgr.GetClient(),
Scheme: mgr.GetScheme(),
Mapper: mgr.GetRESTMapper(),
Client: mgr.GetClient(),
Scheme: mgr.GetScheme(),
Mapper: mgr.GetRESTMapper(),
ApplicationSelector: selector,
}
err = reconciler.SetupWithManager(mgr)
@@ -147,4 +147,4 @@ func randStringRunes(n int) string {
b[i] = letterRunes[rand.Intn(len(letterRunes))]
}
return string(b)
}
}