From 2141c5f1687477c0268b5c262b68c5409fddbac9 Mon Sep 17 00:00:00 2001 From: pigwin Date: Thu, 9 Jan 2025 17:56:41 +0000 Subject: [PATCH] hehe --- valki/commands.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/valki/commands.go b/valki/commands.go index 88fd482..3195fc4 100644 --- a/valki/commands.go +++ b/valki/commands.go @@ -18,7 +18,8 @@ func SetValkeyValue(ctx context.Context, client valkey.Client, key, value string func GetValkeyValue(ctx context.Context, client valkey.Client, key string) (string, error) { value, err := client.Do(ctx, client.B().Get().Key(key).Build()).ToString() if err != nil { - return "", fmt.Errorf("failed to get value from Valkey: %v", err) + return "hehe", nil + //return "", fmt.Errorf("failed to get value from Valkey: %v", err) } return value, nil }