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

chore: fix lint warning #1001

Merged
merged 2 commits into from
Jul 11, 2023
Merged

chore: fix lint warning #1001

merged 2 commits into from
Jul 11, 2023

Conversation

kranurag7
Copy link
Contributor

What this PR does / why we need it:
Ref: #986

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Please check the following list:

  • Does the affected code have corresponding tests, e.g. unit test, E2E test?
  • Does this change require a documentation update?
  • Does this introduce breaking changes that would require an announcement or bumping the major version?
  • Do all new files have an appropriate license header?

// cc @qweeah

@qweeah qweeah changed the title add error handling chore: fix lint warning Jul 4, 2023
cmd/oras/internal/display/print.go Outdated Show resolved Hide resolved
cmd/oras/internal/option/applier.go Outdated Show resolved Hide resolved
cmd/oras/internal/option/applier.go Outdated Show resolved Hide resolved
cmd/oras/internal/option/packer_test.go Outdated Show resolved Hide resolved
cmd/oras/internal/display/print.go Outdated Show resolved Hide resolved
cmd/oras/internal/option/remote.go Outdated Show resolved Hide resolved
cmd/oras/root/attach.go Outdated Show resolved Hide resolved
cmd/oras/root/discover.go Outdated Show resolved Hide resolved
cmd/oras/root/discover.go Outdated Show resolved Hide resolved
internal/cache/target_test.go Outdated Show resolved Hide resolved
@TerryHowe
Copy link
Member

One of these changes is breaking tests. I assume it is one of the error returns that was being ignored before.

Copy link
Contributor

@qweeah qweeah left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Anurag <[email protected]>
Copy link
Member

@TerryHowe TerryHowe left a comment

Choose a reason for hiding this comment

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

/lgtm

@qweeah qweeah merged commit 5194c2e into oras-project:main Jul 11, 2023
@kranurag7 kranurag7 deleted the error-handling branch July 11, 2023 18:49
qweeah pushed a commit to qweeah/oras that referenced this pull request Jul 21, 2023
qweeah pushed a commit to qweeah/oras that referenced this pull request Jul 21, 2023
shizhMSFT pushed a commit to shizhMSFT/oras that referenced this pull request Aug 3, 2023
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