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

@@ -34,7 +34,7 @@ func (s *simpleCache) Keys(pattern string) ([]string, error) {
return nil, err
}
var keys []string
for k, _ := range s.store {
for k := range s.store {
if re.MatchString(k) {
keys = append(keys, k)
}

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 {

View File

@@ -2,7 +2,7 @@ package mysql
import (
"github.com/spf13/pflag"
reflectutils "kubesphere.io/kubesphere/pkg/utils/reflectutils"
"kubesphere.io/kubesphere/pkg/utils/reflectutils"
"time"
)