-
Notifications
You must be signed in to change notification settings - Fork 0
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
dra: auto convert resourceclaim to multus annotions #2
Conversation
009c60c
to
bc3b947
Compare
hack/build-go.sh
Outdated
@@ -19,7 +19,7 @@ if [ -z "$VERSION" ]; then | |||
fi | |||
set -e | |||
fi | |||
DATE=$(date -u -d "@${SOURCE_DATE_EPOCH:-$(date +%s)}" --iso-8601=seconds) | |||
DATE="1234" |
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.
1234 ?
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.
just for local testing on mac
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.
revert
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.
revert
@@ -24,7 +24,9 @@ import ( | |||
"strings" |
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.
it possibly need some declaration for changing the original code, owing to license issue
or else, it could add a new file for the new code in the module with entirely new license claim
@@ -75,7 +77,7 @@ func saveScratchNetConf(containerID, dataDir string, netconf []byte) error { | |||
|
|||
path := filepath.Join(dataDir, containerID) | |||
|
|||
err := ioutil.WriteFile(path, netconf, 0600) | |||
err := os.WriteFile(path, netconf, 0600) |
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.
does it matter ?
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 have bump Golang version to 1.22, and the ioutil
package has been marked deprecated state,
add unite test |
32d2e2e
to
2270302
Compare
4daddff
to
e906f34
Compare
@@ -0,0 +1,59 @@ | |||
package spiderpool |
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.
license
e906f34
to
74e46a7
Compare
dra: auto convert resourceclaim to multus annotions