Skip to content

Commit

Permalink
checkpt
Browse files Browse the repository at this point in the history
  • Loading branch information
boz committed Apr 11, 2024
1 parent 24e766c commit f64634a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions cluster/kube/builder/service_credentials.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"encoding/base64"
"encoding/json"
"fmt"
"strings"

mani "github.com/akash-network/akash-api/go/manifest/v2beta2"
corev1 "k8s.io/api/core/v1"
Expand Down Expand Up @@ -91,10 +92,10 @@ type dockerCredentials struct {

func (b serviceCredentials) encodeSecret() ([]byte, error) {
entry := dockerCredentialsEntry{

Check failure on line 94 in cluster/kube/builder/service_credentials.go

View workflow job for this annotation

GitHub Actions / build-bins

entry declared and not used

Check failure on line 94 in cluster/kube/builder/service_credentials.go

View workflow job for this annotation

GitHub Actions / lint

entry declared and not used

Check failure on line 94 in cluster/kube/builder/service_credentials.go

View workflow job for this annotation

GitHub Actions / lint

entry declared and not used

Check failure on line 94 in cluster/kube/builder/service_credentials.go

View workflow job for this annotation

GitHub Actions / release-dry-run

entry declared and not used

Check failure on line 94 in cluster/kube/builder/service_credentials.go

View workflow job for this annotation

GitHub Actions / tests

entry declared and not used
Username: b.credentials.Username,
Password: b.credentials.Password,
Email: b.credentials.Email,
Auth: encodeAuth(b.credentials.Username, b.credentials.Password),
Username: strings.TrimSpace(b.credentials.Username),
Password: strings.TrimSpace(b.credentials.Password),
Email: strings.TrimSpace(b.credentials.Email),
Auth: encodeAuth(strings.TrimSpace(b.credentials.Username), strings.TrimSpace(b.credentials.Password)),
}
creds := dockerCredentials{
Auths: map[string]dockerCredentialsEntry{
Expand Down

0 comments on commit f64634a

Please sign in to comment.