Skip to content

Commit ae8e4d4

Browse files
committed
feat(valkey): address review comments
relates to STACKITTPR-845
1 parent dbebcb6 commit ae8e4d4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • internal/pkg/services/valkey/utils

internal/pkg/services/valkey/utils/utils.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,15 @@ func LoadPlanId(planName, version string, offerings *valkey.ListOfferingsRespons
6565
func GetInstanceName(ctx context.Context, apiClient valkey.DefaultAPI, projectId, instanceId, region string) (string, error) {
6666
resp, err := apiClient.GetInstance(ctx, projectId, region, instanceId).Execute()
6767
if err != nil {
68-
return "", fmt.Errorf("get Key Value Store (valkey) instance: %w", err)
68+
return "", fmt.Errorf("get Valkey instance: %w", err)
6969
}
7070
return resp.Name, nil
7171
}
7272

7373
func GetCredentialsUsername(ctx context.Context, apiClient valkey.DefaultAPI, projectId, instanceId, credentialsId, region string) (string, error) {
7474
resp, err := apiClient.GetCredentials(ctx, projectId, region, instanceId, credentialsId).Execute()
7575
if err != nil {
76-
return "", fmt.Errorf("get Key Value Store (valkey) credentials: %w", err)
76+
return "", fmt.Errorf("get Valkey credentials: %w", err)
7777
}
7878
if resp.Raw == nil {
7979
return "", nil

0 commit comments

Comments
 (0)