Skip to content

Commit

Permalink
docs: spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-FFFFFF committed Jan 2, 2024
1 parent 019d8ec commit c1920ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/clients/resource_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (client *ResourceClient) WithRetry(retry *ResourceClientRetryableErrors) *R
}

// CreateOrUpdateWithRetry configures the retryable errors for the client.
// It calls CreateOrUpdate, the checks if the error is contained in the retryable errors list.
// It calls CreateOrUpdate, then checks if the error is contained in the retryable errors list.
// If it is, it will retry the operation with the configured backoff.
// If it is not, it will return the error as a backoff.PermanentError{}.
func (client *ResourceClient) CreateOrUpdateWithRetry(ctx context.Context, resourceID string, apiVersion string, body interface{}) (interface{}, error) {
Expand Down

0 comments on commit c1920ce

Please sign in to comment.