Set package initial status if its empty (#1522)

If the user applies package YAML file has no status field,
the package won't be able to be compiled or deployed due
to lack of status. This PR aims to add a check at buildermgr
to set initial package status to those packages.
This commit is contained in:
Ta-Ching Chen
2020-02-02 00:39:02 +08:00
committed by GitHub
parent e9804a5b76
commit dd07c68201
9 changed files with 204 additions and 14 deletions
-1
View File
@@ -18,7 +18,6 @@ package controller
import (
"context"
"go.uber.org/zap"
"github.com/fission/fission/pkg/crd"