Skip to content
This repository has been archived by the owner on May 28, 2020. It is now read-only.

Commit

Permalink
Merge pull request #26 from lizihuai/master
Browse files Browse the repository at this point in the history
change golint check error
  • Loading branch information
tianxiaoliang authored Jul 10, 2019
2 parents 6be542a + 24ff2bd commit 3e6cd81
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion adaptor/gochassis/cse.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,5 +211,5 @@ func Init() error {
}

func init() {
bootstrap.InstallPlugin("huaweiauth", bootstrap.BootstrapFunc(Init))
bootstrap.InstallPlugin("huaweiauth", bootstrap.Func(Init))
}
6 changes: 3 additions & 3 deletions retriever.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ type KubeSecretsData struct {

//DockerConfig is a tenant's default secret in json format
type DockerConfig struct {
Auths map[string]AuthData `json:"auths"`
Auths map[string]Data `json:"auths"`
}

//AuthData is the base64 format of AK/SHAAKSK/PROJECT
type AuthData struct {
//Data is the base64 format of AK/SHAAKSK/PROJECT
type Data struct {
Auth string `json:"auth"`
}

Expand Down

0 comments on commit 3e6cd81

Please sign in to comment.