-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
fix cniAsset from env var #2897
fix cniAsset from env var #2897
Conversation
Hi @qqshfox. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
upup/pkg/fi/cloudup/apply_cluster.go
Outdated
@@ -235,7 +235,11 @@ func (c *ApplyClusterCmd) Run() error { | |||
return err | |||
} | |||
|
|||
c.Assets = append(c.Assets, cniAssetHashString+"@"+cniAsset) | |||
if cniAssetHashString == "" { | |||
c.Assets = append(c.Assets, cniAsset) |
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.
Nit: might be a good idea to log a warning here
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
/ok-to-test |
cddfe68
to
b54724a
Compare
Added a warning log to indicate using |
No description provided.