2
pkg/simple/client/cache/simple_cache.go
vendored
2
pkg/simple/client/cache/simple_cache.go
vendored
@@ -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)
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user