-
Notifications
You must be signed in to change notification settings - Fork 38
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
Go module support #12
Conversation
@@ -9,7 +9,7 @@ import ( | |||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" | |||
"k8s.io/client-go/tools/clientcmd" | |||
|
|||
clientset "github.com/k8snetworkplumbingwg/network-attachment-definition-client/pkg/client/clientset/versioned" | |||
clientset "github.com/K8sNetworkPlumbingWG/network-attachment-definition-client/pkg/client/clientset/versioned" |
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.
What does this change imply to dep
users? We faced an issue with dep
being unable to handle upper-case letters https://github.com/K8sNetworkPlumbingWG/network-attachment-definition-client#networkattachmentdefinition-crd-client.
Just making sure this change won't break existing users.
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.
Currently this PR could be succeed to build command with go-module.
The build may be fail if you use non go-module build environment. Golang now makes go module default, hence it should be okey.
In the future, we should consider the change of github group name (from K8sNetworkPlumbingWG, mixed-case to others).
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.
As far as I looks dep, golang/dep#1079 may fix the issue, I guess.
And there's some github projects that fix same stuff:
https://github.com/hashicorp/consul-template/pull/1139/files
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 see. Fair enough. Thanks Tomo.
fca8210
to
1d3ea6b
Compare
1d3ea6b
to
381919f
Compare
No description provided.