1. change glog to klog
2. move types to api package to avoid cyclic import
This commit is contained in:
@@ -20,7 +20,7 @@ package devops
|
||||
import (
|
||||
"encoding/json"
|
||||
"github.com/emicklei/go-restful"
|
||||
log "github.com/golang/glog"
|
||||
log "k8s.io/klog"
|
||||
"kubesphere.io/kubesphere/pkg/models/devops"
|
||||
"net/http"
|
||||
"strings"
|
||||
|
||||
Reference in New Issue
Block a user