Skip to content

Commit

Permalink
Fixing go 1.9 sessionName redefine
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Myers <[email protected]>
  • Loading branch information
jasonamyers committed Feb 9, 2018
1 parent 45ff278 commit 53afd82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,9 @@ func main() {
}
sessionName := ""
if *roleNamePtr == "" {
sessionName := roleAccountNumber + "-" + roleName
sessionName = roleAccountNumber + "-" + roleName
} else {
sessionName := roleAccountNumber + "-" + *roleNamePtr
sessionName = roleAccountNumber + "-" + *roleNamePtr
}
startShell(sessionName)
}
Expand Down

0 comments on commit 53afd82

Please sign in to comment.