Skip to content

Commit

Permalink
Remove else stmts
Browse files Browse the repository at this point in the history
  • Loading branch information
aulorbe committed Oct 21, 2024
1 parent 6de6e38 commit 2b7d331
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -602,8 +602,6 @@ The following example imports vectors from an Amazon S3 bucket into a Pinecone s

if err != nil {
log.Fatalf("Failed to create Client: %v", err)
} else {
fmt.Println("Successfully created a new Client object!")
}

indexName := "sample-index"
Expand All @@ -618,8 +616,6 @@ The following example imports vectors from an Amazon S3 bucket into a Pinecone s

if err != nil {
log.Fatalf("Failed to create serverless index: %v", err)
} else {
fmt.Printf("Successfully created serverless index: %s", idx.Name)
}

idx, err = pc.DescribeIndex(ctx, "pinecone-index")
Expand Down

0 comments on commit 2b7d331

Please sign in to comment.