Fix broken build

This commit is contained in:
vishalnayak 2018-09-27 10:58:04 -04:00
parent 73112c49fb
commit c91266950f

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)
}