Skip to content

Fix retrieval of private registry metadata from the Job definition#6843

Merged
brrygrdn merged 1 commit intomainfrom
brrygrdn/fix-private-reg-from-job-def
Mar 15, 2023
Merged

Fix retrieval of private registry metadata from the Job definition#6843
brrygrdn merged 1 commit intomainfrom
brrygrdn/fix-private-reg-from-job-def

Conversation

@brrygrdn
Copy link
Copy Markdown
Contributor

@brrygrdn brrygrdn commented Mar 15, 2023

Fixes a bug introduced in #6810

The modified code in this PR attempted to retrieve the credential-metadata using the wrong key name by confuting the pre- and post-standardisation use of kebab- and snake-case respectively, i.e. credential_metadata instead.

This change reverts to the original call order to ensure that the retrieval happens after standardisation to guard against any future changes to key manipulation leaving the credential_metadata clause out of alignment with the rest of the payload.

@brrygrdn brrygrdn requested a review from a team as a code owner March 15, 2023 11:21
@brrygrdn brrygrdn force-pushed the brrygrdn/fix-private-reg-from-job-def branch from d541263 to 6d786a0 Compare March 15, 2023 11:29
@brrygrdn brrygrdn merged commit b1dbeb2 into main Mar 15, 2023
@brrygrdn brrygrdn deleted the brrygrdn/fix-private-reg-from-job-def branch March 15, 2023 12:38
@brrygrdn
Copy link
Copy Markdown
Contributor Author

brrygrdn commented Mar 15, 2023

This patch does not seem to have fully solved the issue, taking another look at it now

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.

2 participants