Skip to content

Commit

Permalink
Merge 5636732 into d791a88
Browse files Browse the repository at this point in the history
  • Loading branch information
danawillow authored Jun 8, 2018
2 parents d791a88 + 5636732 commit 4c04281
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/puppet/compute
Submodule compute updated 127 files
2 changes: 1 addition & 1 deletion build/terraform
7 changes: 7 additions & 0 deletions templates/terraform/redis_operation.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ func redisOperationWait(service *redis.Service, op *redis.Operation, project, ac
}

func redisOperationWaitTime(service *redis.Service, op *redis.Operation, project, activity string, timeoutMin int) error {
if op.Done {
if op.Error != nil {
return fmt.Errorf("Error code %v, message: %s", op.Error.Code, op.Error.Message)
}
return nil
}

w := &RedisOperationWaiter{
Service: service.Projects.Locations,
Op: op,
Expand Down

0 comments on commit 4c04281

Please sign in to comment.