Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
manjunath-batakurki committed Feb 23, 2024
1 parent 4cddef7 commit b4b99fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/cmp/resource_network.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func (r *resNetwork) Create(ctx context.Context, d *utils.Data, meta interface{}
}
errCount := 0
cRetry := utils.CustomRetry{
Timeout: time.Minute * 5,
Timeout: time.Minute * 10,
RetryDelay: time.Second * 10,
InitialDelay: time.Second * 10,
Cond: func(response interface{}, err error) (bool, error) {
Expand Down Expand Up @@ -195,7 +195,7 @@ func (r *resNetwork) Delete(ctx context.Context, d *utils.Data, meta interface{}
retry := &utils.CustomRetry{
InitialDelay: time.Second * 10,
RetryDelay: time.Second * 10,
Timeout: time.Minute * 5,
Timeout: time.Minute * 10,
}
resp, err := retry.Retry(ctx, meta, func(ctx context.Context) (interface{}, error) {
return r.nClient.DeleteNetwork(ctx, networkID)
Expand Down

0 comments on commit b4b99fc

Please sign in to comment.