Skip to content

Commit

Permalink
fix instanceid copy truncation (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
ncatelli committed Oct 27, 2021
1 parent a0c0299 commit 5eb1d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func startSessionCommand(cmd *cobra.Command, args []string) {
go func(sess *session.Session, instancePool *instance.InstanceInfoSafe) {
defer wg.Done()
var threadLocalInstanceList []string
copy(threadLocalInstanceList, instanceList)
threadLocalInstanceList = append(threadLocalInstanceList, instanceList...)

ssmClient := ssm.New(sess.Session)

Expand Down

0 comments on commit 5eb1d6e

Please sign in to comment.