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

when searching, survive errors for multiple registries #1257

Closed
wants to merge 1 commit into from

Conversation

baude
Copy link
Member

@baude baude commented Aug 11, 2018

when searching multiple registries for images, if we get an error on one
of the searches, we should keep going and complete the search. if there
is only one search registry however, we will return an error.

Resolves: #1255

Signed-off-by: baude [email protected]

// errors and other possibles errors
if len(registries) > 1 {
continue
}
Copy link
Member

Choose a reason for hiding this comment

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

Might be good to have at least a debug statement above the continue.

Copy link
Member Author

Choose a reason for hiding this comment

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

i believe it ends up in the journal

when searching multiple registries for images, if we get an error on one
of the searches, we should keep going and complete the search.  if there
is only one search registry however, we will return an error.

Resolves: containers#1255

Signed-off-by: baude <[email protected]>
@baude baude force-pushed the varlinksearcherror branch from b38e6bb to a04e7e1 Compare August 13, 2018 14:14
@baude
Copy link
Member Author

baude commented Aug 13, 2018

lets merge this

@mheon
Copy link
Member

mheon commented Aug 13, 2018

Sure
LGTM
@rh-atomic-bot r+

@mheon
Copy link
Member

mheon commented Aug 13, 2018

I think we might need to get rh-atomic-bot added to the containers org, maybe?

@rhatdan
Copy link
Member

rhatdan commented Aug 13, 2018

@rh-atomic-bot r+

1 similar comment
@mheon
Copy link
Member

mheon commented Aug 13, 2018

@rh-atomic-bot r+

@rh-atomic-bot
Copy link
Collaborator

📌 Commit a04e7e1 has been approved by mheon

@rh-atomic-bot
Copy link
Collaborator

⌛ Testing commit a04e7e1 with merge 8f3621f...

@mheon
Copy link
Member

mheon commented Aug 13, 2018

I think I straight broke the papr tests by manually merging the systemd cgroups stuff

@rh-atomic-bot
Copy link
Collaborator

💔 Test failed - status-papr

@mheon
Copy link
Member

mheon commented Aug 14, 2018

@rh-atomic-bot retry

@rh-atomic-bot
Copy link
Collaborator

⌛ Testing commit a04e7e1 with merge 5d7b31d...

@rh-atomic-bot
Copy link
Collaborator

☀️ Test successful - status-papr
Approved by: mheon
Pushing 5d7b31d to master...

@baude baude deleted the varlinksearcherror branch December 22, 2019 19:16
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 25, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants