go fmt code

This commit is contained in:
Sargurunathan Mohan 2015-09-23 16:41:48 -07:00
parent 803b33bcae
commit 6b2d6f5ae4
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ func (c *Config) ValidateAccountId(iamconn *iam.IAM) error {
// User may be an IAM instance profile, so fail silently. // User may be an IAM instance profile, so fail silently.
// If it is an IAM instance profile // If it is an IAM instance profile
// validating account might be superfluous // validating account might be superfluous
return nil return nil
} else { } else {
return fmt.Errorf("Failed getting account ID from IAM: %s", err) return fmt.Errorf("Failed getting account ID from IAM: %s", err)
// return error if the account id is explicitly not authorised // return error if the account id is explicitly not authorised