Fix broken build

This commit is contained in:
vishalnayak 2018-09-27 10:58:04 -04:00
parent 73112c49fb
commit c91266950f
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ func (b *backend) secretAccessKeysCreate(
UserName: aws.String(username),
})
if err != nil {
if walErr := framework.DeleteWAL(ctx, s, walId); walErr != nil {
if walErr := framework.DeleteWAL(ctx, s, walID); walErr != nil {
iamErr := errwrap.Wrapf("error creating IAM user: {{err}}", err)
return nil, errwrap.Wrap(errwrap.Wrapf("failed to delete WAL entry: {{err}}", walErr), iamErr)
}