-
Notifications
You must be signed in to change notification settings - Fork 91
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
cleanup: replaced resty client with http client in sync and moved to … #1016
Conversation
bfd3cfb
to
5eec6a0
Compare
0b2a21a
to
f261887
Compare
Codecov Report
@@ Coverage Diff @@
## main #1016 +/- ##
==========================================
+ Coverage 88.95% 89.04% +0.09%
==========================================
Files 74 74
Lines 15038 15025 -13
==========================================
+ Hits 13377 13379 +2
+ Misses 1296 1282 -14
+ Partials 365 364 -1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
f45d77e
to
50eb5c6
Compare
return false | ||
} | ||
|
||
fileInfo, err := os.Stat(d) |
Check failure
Code scanning / CodeQL
Uncontrolled data used in path expression
9c26788
to
8d039b5
Compare
8d039b5
to
34e0d9d
Compare
Signed-off-by: Ana-Roberta Lisca <ana.kagome@yahoo.com>
34e0d9d
to
b912d73
Compare
} | ||
} | ||
|
||
artifactManifestBuf, err := json.Marshal(ociArtifact) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is my mistake, we already have ociArtifactBuf, no need to marshal again :D.
otherwise LGTM |
@@ -18,10 +19,10 @@ import ( | |||
"github.com/containers/image/v5/types" | |||
"github.com/opencontainers/go-digest" | |||
ispec "github.com/opencontainers/image-spec/specs-go/v1" | |||
"gopkg.in/resty.v1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yup, good stuff!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
go-resty/resty#611 |
…common
Signed-off-by: Ana-Roberta Lisca ana.kagome@yahoo.com
What type of PR is this?
Which issue does this PR fix:
#969
What does this PR do / Why do we need it:
If an issue # is not available please add repro steps and logs showing the issue:
Testing done on this change:
Automation added to e2e:
Will this break upgrades or downgrades?
Does this PR introduce any user-facing change?:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.