Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep order of env in crane mutate #1683

Merged
merged 1 commit into from
May 1, 2023
Merged

Conversation

jonjohnsonjr
Copy link
Collaborator

Fixes #1542

I think this breaks callers that pass multiple key-value pairs in a single flag, and I'm ok with that.

@codecov-commenter
Copy link

codecov-commenter commented May 1, 2023

Codecov Report

Merging #1683 (c051e98) into main (43710a9) will increase coverage by 0.04%.
The diff coverage is 0.00%.

❗ Current head c051e98 differs from pull request most recent head db2ef21. Consider uploading reports for the commit db2ef21 to get more accurate results

@@            Coverage Diff             @@
##             main    #1683      +/-   ##
==========================================
+ Coverage   72.81%   72.85%   +0.04%     
==========================================
  Files         121      121              
  Lines        9633     9635       +2     
==========================================
+ Hits         7014     7020       +6     
+ Misses       1941     1939       -2     
+ Partials      678      676       -2     
Impacted Files Coverage Δ
pkg/name/registry.go 97.05% <0.00%> (-2.95%) ⬇️

... and 1 file with indirect coverage changes

@jonjohnsonjr jonjohnsonjr force-pushed the env-order branch 2 times, most recently from 796a717 to c051e98 Compare May 1, 2023 18:31
@jonjohnsonjr jonjohnsonjr merged commit 3120ba5 into google:main May 1, 2023
@jonjohnsonjr jonjohnsonjr deleted the env-order branch May 1, 2023 18:58
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.

crane: Mutate does not always preserve order of env variables
3 participants