From e35557ab33ba1d152387bc19ab9aa4e0ffdd0a5d Mon Sep 17 00:00:00 2001 From: Jesse Seldess Date: Thu, 5 Sep 2024 13:05:38 -0400 Subject: [PATCH] Return error for serverless index creation failure --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 40c44ae..1fdf2a9 100644 --- a/README.md +++ b/README.md @@ -159,7 +159,7 @@ func main() { }) if err != nil { - log.Fatalf("Failed to create serverless index: %s", indexName) + log.Fatalf("Failed to create serverless index: %v", err) } else { fmt.Printf("Successfully created serverless index: %s", idx.Name) }