-
Notifications
You must be signed in to change notification settings - Fork 14
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
fixed error when using get with empty namespace #255
fixed error when using get with empty namespace #255
Conversation
Signed-off-by: Mikhail Avramenko <avramenkomihail15@gmail.com>
if err == nil { | ||
exist.Spec = *(*v1.NetworkServiceEndpointSpec)(request) |
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.
Why is this line removed?
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.
fixed
if err == nil { | ||
exist.Spec = *(*v1.NetworkServiceSpec)(request) |
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.
Why is this line removed?
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.
fixed
Signed-off-by: Mikhail Avramenko <avramenkomihail15@gmail.com>
…k-k8s@main PR link: networkservicemesh/sdk-k8s#255 Commit: 10c8425 Author: Denis Tingaikin Date: 2021-10-12 14:57:37 +0300 Message: - Merge pull request #255 from Mixaster995/bug/empty-ns-error Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k-k8s@main PR link: networkservicemesh/sdk-k8s#255 Commit: 10c8425 Author: Denis Tingaikin Date: 2021-10-12 14:57:37 +0300 Message: - Merge pull request #255 from Mixaster995/bug/empty-ns-error Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k-k8s@main PR link: networkservicemesh/sdk-k8s#255 Commit: 10c8425 Author: Denis Tingaikin Date: 2021-10-12 14:57:37 +0300 Message: - Merge pull request #255 from Mixaster995/bug/empty-ns-error Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
Signed-off-by: Mikhail Avramenko avramenkomihail15@gmail.com
Description
k8s api rest methods not working properly with empty namespaces, so changed get to list
Issue
part of #252