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

Swallow exceptions encountered in getHistory for DockerV2 task #10573

Merged
merged 4 commits into from
Jun 6, 2019

Conversation

dabasnidhi
Copy link
Contributor

--format flag is not supported in old docker CLI versions, so if the history output could not be resolved, then we do not want to throw error. We will not invoke publishImageDetails API, and let the docker push task complete
Associated issue- #10423

Copy link
Contributor

@ajinkya599 ajinkya599 left a comment

Choose a reason for hiding this comment

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

Approving with suggestions.

// such as --format flag not supported in old docker cli versions
output = null;
defer.resolve();
tl.warning("Not publishing to image meta data store as get history failed with error " + e);
Copy link
Contributor

Choose a reason for hiding this comment

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

nit, warning, error and info messages should be localized :)

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.

4 participants