Fix unit tests failure (#1297)

This commit is contained in:
Ta-Ching Chen
2019-08-30 23:39:45 +08:00
committed by GitHub
parent 19c60d1592
commit 58811ab522
3 changed files with 2 additions and 3 deletions
+1
View File
@@ -205,6 +205,7 @@ func TestEnvironmentApi(t *testing.T) {
Namespace: metav1.NamespaceDefault,
},
Spec: fv1.EnvironmentSpec{
Version: 1,
Runtime: fv1.Runtime{
Image: "gcr.io/xyz",
},
-3
View File
@@ -49,9 +49,6 @@ func Start(logger *zap.Logger, port int, unitTestFlag bool) {
}
defer cancel()
// openapi service
//go openAPI(cLogger)
api, err := MakeAPI(cLogger, featureStatus)
if err != nil {
cLogger.Fatal("failed to start controller", zap.Error(err))