Skip to content

Commit 75dde67

Browse files
committed
Those are not errors
Signed-off-by: David Gageot <david.gageot@docker.com>
1 parent ba15519 commit 75dde67

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

pkg/environment/1password.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func (p *OnePasswordProvider) Get(ctx context.Context, name string) string {
4444
secret, err := client.Secrets().Resolve(ctx, "op://cagent/"+name+"/password")
4545
if err != nil {
4646
// Ignore error
47-
slog.Error("Failed to find secret in 1Password", "error", err)
47+
slog.Debug("Failed to find secret in 1Password", "error", err)
4848
return ""
4949
}
5050

pkg/environment/keychain.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func (p *KeychainProvider) Get(ctx context.Context, name string) string {
4545
err := cmd.Run()
4646
if err != nil {
4747
// Ignore error
48-
slog.Error("Failed to find secret in keychain", "error", err)
48+
slog.Debug("Failed to find secret in keychain", "error", err)
4949
return ""
5050
}
5151

pkg/environment/pass.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func (p *PassProvider) Get(ctx context.Context, name string) string {
4444
err := cmd.Run()
4545
if err != nil {
4646
// Ignore error
47-
slog.Error("Failed to find secret in pass", "error", err)
47+
slog.Debug("Failed to find secret in pass", "error", err)
4848
return ""
4949
}
5050

0 commit comments

Comments
 (0)