Skip to content
This repository has been archived by the owner on Sep 19, 2022. It is now read-only.

Fix ckube watcher when labelSelector is none #6

Merged
merged 1 commit into from
May 15, 2022

Conversation

hanxiaop
Copy link
Contributor

@hanxiaop hanxiaop commented May 15, 2022

When we try to watch a resource in ckube, if the empty labelselector is provided like labelSelector: <none>, kubeclient will throw errors like "Error creating: found '<', expected: ',' or 'end of string' seen in project events". We can just ignore the empty labelSelector to make watchers work properly.

@hanxiaop
Copy link
Contributor Author

@kebe7jun PTAL.

@kebe7jun kebe7jun merged commit 8492dab into DaoCloud:main May 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants