Skip to content
This repository was archived by the owner on Apr 7, 2024. It is now read-only.

fix: added back handling no credentials error#74

Merged
shizhMSFT merged 2 commits into
oras-project:mainfrom
wangxiaoxuan273:no-credentials
Jun 8, 2023
Merged

fix: added back handling no credentials error#74
shizhMSFT merged 2 commits into
oras-project:mainfrom
wangxiaoxuan273:no-credentials

Conversation

@wangxiaoxuan273

Copy link
Copy Markdown
Collaborator

Fixing the error of PR #68

Signed-off-by: wangxiaoxuan273 <wangxiaoxuan119@gmail.com>
@codecov-commenter

codecov-commenter commented Jun 8, 2023

Copy link
Copy Markdown

Codecov Report

Merging #74 (963e70f) into main (ab5d0bd) will increase coverage by 0.13%.
The diff coverage is 100.00%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##             main      #74      +/-   ##
==========================================
+ Coverage   82.27%   82.41%   +0.13%     
==========================================
  Files           6        6              
  Lines         378      381       +3     
==========================================
+ Hits          311      314       +3     
  Misses         45       45              
  Partials       22       22              
Impacted Files Coverage Δ
native_store.go 87.75% <100.00%> (+0.79%) ⬆️

Comment thread native_store.go
var cred auth.Credential
out, err := ns.exec.Execute(ctx, strings.NewReader(serverAddress), "get")
if err != nil {
if err.Error() == errCredentialsNotFoundMessage {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you add back the original comment?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Added back the comment

Signed-off-by: wangxiaoxuan273 <wangxiaoxuan119@gmail.com>

@shizhMSFT shizhMSFT left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@shizhMSFT shizhMSFT merged commit 323e44c into oras-project:main Jun 8, 2023
@wangxiaoxuan273 wangxiaoxuan273 mentioned this pull request Jun 19, 2023
3 tasks
@wangxiaoxuan273 wangxiaoxuan273 deleted the no-credentials branch June 20, 2023 06:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants