Skip to content

Commit

Permalink
Address review comments from @ishan16696 2.
Browse files Browse the repository at this point in the history
* Nit change: change `context.TODO()` to `context.Background()`.
  • Loading branch information
renormalize committed Aug 14, 2024
1 parent 9c20bb0 commit b5ab3a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/snapstore/abs_snapstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func NewABSSnapStore(config *brtypes.SnapstoreConfig) (*ABSSnapStore, error) {
}

// Check if the ABS container exists (moved over from client constructor function)
ctx, cancel := context.WithTimeout(context.TODO(), providerConnectionTimeout)
ctx, cancel := context.WithTimeout(context.Background(), providerConnectionTimeout)
defer cancel()

if _, err := client.GetProperties(ctx, nil); err != nil {
Expand Down

0 comments on commit b5ab3a4

Please sign in to comment.