Skip to content

Commit

Permalink
Make createFolder and deleteFolder retry able (#2565)
Browse files Browse the repository at this point in the history
* make createFolder and deleteFolder retryable

* lint fix
  • Loading branch information
Tulsishah authored Oct 9, 2024
1 parent 0e5c6b4 commit f6a8a10
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/storage/storageutil/control_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ func setRetryConfigForFolderAPIs(sc *control.StorageControlClient, clientConfig
sc.CallOptions.RenameFolder = storageControlClientRetryOptions(clientConfig)
sc.CallOptions.GetFolder = storageControlClientRetryOptions(clientConfig)
sc.CallOptions.GetStorageLayout = storageControlClientRetryOptions(clientConfig)
sc.CallOptions.CreateFolder = storageControlClientRetryOptions(clientConfig)
sc.CallOptions.DeleteFolder = storageControlClientRetryOptions(clientConfig)
}

func CreateGRPCControlClient(ctx context.Context, clientOpts []option.ClientOption, clientConfig *StorageClientConfig) (controlClient *control.StorageControlClient, err error) {
Expand Down

0 comments on commit f6a8a10

Please sign in to comment.