Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@alexcb
Copy link

@alexcb alexcb commented Aug 24, 2020

What type of PR is this?

(REQUIRED)

  • bug
  • cleanup
  • documentation
  • feature

What this PR does / why we need it:

fixes an issue where values set by environment var are not saved to
existing stringslice reference.

Which issue(s) this PR fixes:

No issue was opened

Testing

Included a small unit test

Release Notes

(REQUIRED)

fixed stringsliceflag apply logic to reuse existing value reference when ENV value is defined

fixes an issue where values set by environment var are not saved to
existing stringslice reference.
@alexcb alexcb requested a review from a team as a code owner August 24, 2020 21:25
@alexcb alexcb requested review from rliebz and saschagrunert and removed request for a team August 24, 2020 21:25
alexcb pushed a commit to earthly/earthly that referenced this pull request Aug 25, 2020
current master version of urfave/cli has a bug where values set by the
environment var are not saved to the stringslice var.

Once urfave/cli#1178 is merged, we can switch
back to using the upstream version.
alexcb added a commit to earthly/earthly that referenced this pull request Aug 25, 2020
current master version of urfave/cli has a bug where values set by the
environment var are not saved to the stringslice var.

Once urfave/cli#1178 is merged, we can switch
back to using the upstream version.

Co-authored-by: Alex Couture-Beil <[email protected]>
@alexcb
Copy link
Author

alexcb commented Sep 21, 2020

@saschagrunert can I get a review on this?

Copy link
Member

@saschagrunert saschagrunert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, LGTM

@alexcb
Copy link
Author

alexcb commented Sep 21, 2020

thanks @saschagrunert , is there anything else that needs to be done before this can be merged?

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.

3 participants