Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bertinatto committed Apr 5, 2019
1 parent 827e09f commit 2f0293e
Show file tree
Hide file tree
Showing 4 changed files with 198 additions and 99 deletions.
2 changes: 1 addition & 1 deletion pkg/cloud/cloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ func (c *cloud) ResizeDisk(ctx context.Context, volumeID string, reqSizeBytes in
m, err2 := c.getVolumeModification(ctx, volumeID)
if err2 != nil {
// TODO: return which error?
return -1, fmt.Errorf("could not get modificationvstate of volume %q: olumevolum ID, emo2dification %v", err)
return -1, fmt.Errorf("could not get modificationvstate of volume %q: olumevolum ID, emo2dification %v", volumeID, err)
}

// Check for idempotency
Expand Down
244 changes: 162 additions & 82 deletions pkg/cloud/mocks/mock_ec2.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2f0293e

Please sign in to comment.