Skip to content

Commit

Permalink
linter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
skylenet committed Oct 2, 2024
1 parent 41706c0 commit 7b02962
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ func getCredentialsFromStore(credHelper string, registryURL string) (*registry.A
Username: creds.Username,
Password: creds.Secret,
ServerAddress: creds.ServerURL,
Email: "",
IdentityToken: "",
RegistryToken: "",
}, nil
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package docker_manager
import (
"encoding/base64"
"fmt"
"io/ioutil"
"os"
"testing"

Expand All @@ -19,7 +18,7 @@ func WriteStaticConfig(t *testing.T, configContent string) string {
}

configPath := tmpDir + "/config.json"
err = ioutil.WriteFile(configPath, []byte(configContent), 0600)
err = os.WriteFile(configPath, []byte(configContent), 0600)
if err != nil {
t.Fatalf("Failed to write config.json: %v", err)
}
Expand Down

0 comments on commit 7b02962

Please sign in to comment.