-
Notifications
You must be signed in to change notification settings - Fork 742
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
Bump containernetworking dependencies only #916
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ | |
|
||
package cninswrapper | ||
|
||
import "github.com/containernetworking/cni/pkg/ns" | ||
import "github.com/containernetworking/plugins/pkg/ns" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Have all these packages moved under plugins directory now ? Looking at this PR in isolation is not giving me that insight. Can we still continue to use cni directory packages ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The upstream package was moved in v0.6.0 back in August 2017, so we have to import the files from where they are now. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for clarification. Lets run integration changes post this at least once again before the release. |
||
|
||
// NS wraps methods used from the cni/pkg/ns package | ||
type NS interface { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -150,13 +150,13 @@ var ( | |
addIPCnt = prometheus.NewCounter( | ||
prometheus.CounterOpts{ | ||
Name: "awscni_add_ip_req_count", | ||
Help: "The number of add IP address request", | ||
Help: "The number of add IP address requests", | ||
}, | ||
) | ||
delIPCnt = prometheus.NewCounterVec( | ||
prometheus.CounterOpts{ | ||
Name: "awscni_del_ip_req_count", | ||
Help: "The number of delete IP address request", | ||
Help: "The number of delete IP address requests", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this change primarily for readability ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, sentence was not correct. |
||
}, | ||
[]string{"reason"}, | ||
) | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
\o/ always good to get rid of older non-semver deps.