Skip to content

Fixes a bug in the instance id list copy#60

Merged
ncatelli merged 1 commit intodisneystreaming:developfrom
ncatelli:bugfix/session-i-flag-failing-to-resolve
Oct 27, 2021
Merged

Fixes a bug in the instance id list copy#60
ncatelli merged 1 commit intodisneystreaming:developfrom
ncatelli:bugfix/session-i-flag-failing-to-resolve

Conversation

@ncatelli
Copy link

@ncatelli ncatelli commented Oct 27, 2021

General

This PR fixes a bug reported directly by @ledor473 that caused sessions to fail to look up instances by id using the -i flag. This was caused by a bad use of copy causing 0 instances to be copied from the array of user passed instance ids to an empty thread local slice.

./bin/ssm session -i <redacted> --profile <redacted> --region us-east-1
INFO    Retrieved 1 usable instances.

sh-4.2$

@ncatelli ncatelli merged commit 5eb1d6e into disneystreaming:develop Oct 27, 2021
@ncatelli ncatelli deleted the bugfix/session-i-flag-failing-to-resolve branch October 27, 2021 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant