-
Notifications
You must be signed in to change notification settings - Fork 157
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
[chore] Upgrade kube version to v1.18.3 #726
Conversation
7d49245
to
a62cc22
Compare
885c474
to
ea6857c
Compare
50d314b
to
4841ef4
Compare
Still have around 30+ files to go through. Looks good so far. |
e5fa53a
to
b29eaab
Compare
Signed-off-by: Rahul M Chheda <rchheda@infracloud.io>
Signed-off-by: Rahul M Chheda <rchheda@infracloud.io>
Signed-off-by: Rahul M Chheda <rchheda@infracloud.io>
Signed-off-by: Rahul M Chheda <rchheda@infracloud.io>
Signed-off-by: Rahul M Chheda <rchheda@infracloud.io>
Signed-off-by: Rahul M Chheda <rchheda@infracloud.io>
e2ee7ce
to
0fe5198
Compare
if _, err := cli.CrV1alpha1().ActionSets(ns).List(context.TODO(), v1.ListOptions{}); err != nil { | ||
return errors.Wrap(err, "Could not list ActionSets") | ||
} | ||
if _, err := cli.CrV1alpha1().Blueprints(ns).List(v1.ListOptions{}); err != nil { | ||
if _, err := cli.CrV1alpha1().Blueprints(ns).List(context.TODO(), v1.ListOptions{}); err != nil { | ||
return errors.Wrap(err, "Could not list Blueprints") | ||
} | ||
if _, err := cli.CrV1alpha1().Profiles(ns).List(v1.ListOptions{}); err != nil { | ||
if _, err := cli.CrV1alpha1().Profiles(ns).List(context.TODO(), v1.ListOptions{}); err != nil { | ||
return errors.Wrap(err, "Could not list Profiles") |
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.
@A-kanksh-a I don't think we have handled this in the PR that you raised. In this case we can atleast, create context once and then pass that context to the other calls. Instead of creating the context n
times.
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.
try to do this for every other occurance.
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.
@viveksinghggits I agree we can do this. we haven't handled this.
Change Overview
Pull request type
Please check the type of change your PR introduces:
Issues
Test Plan