Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tulsishah committed Jun 4, 2024
1 parent 3f2bfb8 commit cd8ae25
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tools/integration_tests/util/client/storage_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ func CreateStorageClient(ctx context.Context) (client *storage.Client, err error
func getTokenSrc(path string) (tokenSrc oauth2.TokenSource, err error) {
contents, err := os.ReadFile(path)
if err != nil {
err = fmt.Errorf("ReadFile(%q): %w", path, err)
return
return nil, fmt.Errorf("ReadFile(%q): %w", path, err)
}

// Create a config struct based on its contents.
Expand Down

0 comments on commit cd8ae25

Please sign in to comment.