Skip to content

Commit

Permalink
don't add trailing slash to provided --base-role-arn
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobonium committed Feb 15, 2019
1 parent 80efbb1 commit 5ac8264
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cmd/main.go
Expand Up @@ -71,9 +71,6 @@ func main() {
if !iam.IsValidBaseARN(s.BaseRoleARN) {
log.Fatalf("Invalid --base-role-arn specified, expected: %s", iam.ARNRegexp.String())
}
if !strings.HasSuffix(s.BaseRoleARN, "/") {
s.BaseRoleARN += "/"
}
}

if s.AutoDiscoverBaseArn {
Expand Down

0 comments on commit 5ac8264

Please sign in to comment.