Skip to content

Commit fc1590b

Browse files
Removed "unauthenticated"
Gives the wrong impression
1 parent a1cc218 commit fc1590b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/auth_client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ func AuthenticatedApiKeyClient(ctx context.Context) sdpconnect.ApiKeyServiceClie
2121
url = viper.GetString("url")
2222
viper.Set("api-key-url", url)
2323
}
24-
log.WithContext(ctx).WithField("api-key-url", url).Debug("Connecting to overmind apikeys API")
24+
log.WithContext(ctx).WithField("api-key-url", url).Debug("Connecting to overmind apikeys API (pre-authenticated)")
2525
return sdpconnect.NewApiKeyServiceClient(httpClient, url)
2626
}
2727

@@ -33,7 +33,7 @@ func UnauthenticatedApiKeyClient(ctx context.Context) sdpconnect.ApiKeyServiceCl
3333
url = viper.GetString("url")
3434
viper.Set("api-key-url", url)
3535
}
36-
log.WithContext(ctx).WithField("api-key-url", url).Debug("Connecting to overmind apikeys API (unauthenticated)")
36+
log.WithContext(ctx).WithField("api-key-url", url).Debug("Connecting to overmind apikeys API")
3737
return sdpconnect.NewApiKeyServiceClient(otelhttp.DefaultClient, url)
3838
}
3939

0 commit comments

Comments
 (0)