Skip to content

Commit 5eb1d6e

Browse files
author
Nate Catelli
authored
fix instanceid copy truncation (#60)
1 parent a0c0299 commit 5eb1d6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/session.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func startSessionCommand(cmd *cobra.Command, args []string) {
114114
go func(sess *session.Session, instancePool *instance.InstanceInfoSafe) {
115115
defer wg.Done()
116116
var threadLocalInstanceList []string
117-
copy(threadLocalInstanceList, instanceList)
117+
threadLocalInstanceList = append(threadLocalInstanceList, instanceList...)
118118

119119
ssmClient := ssm.New(sess.Session)
120120

0 commit comments

Comments
 (0)