add user crd

Signed-off-by: hongming <talonwan@yunify.com>
This commit is contained in:
hongming
2020-03-28 17:55:31 +08:00
parent 96a1d3825e
commit 54fc52c0e3
36 changed files with 1912 additions and 9 deletions

View File

@@ -339,7 +339,7 @@ func (b *Build) GetRevisionBranch() string {
}
func (b *Build) IsGood() bool {
return (!b.IsRunning() && b.Raw.Result == STATUS_SUCCESS)
return !b.IsRunning() && b.Raw.Result == STATUS_SUCCESS
}
func (b *Build) IsRunning() bool {