We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 233696c commit 06faf24Copy full SHA for 06faf24
ocp_resources/resource.py
@@ -485,11 +485,6 @@ def __init__(
485
self.node_selector = node_selector
486
self.node_selector_labels = node_selector_labels
487
self.config_file = config_file
488
- if not isinstance(self.config_file, str):
489
- # If we pass config_file which isn't a string, get_client will fail and it will be very hard to know why.
490
- # Better fail here and let the user know.
491
- raise ValueError("config_file must be a string")
492
-
493
self.config_dict = config_dict or {}
494
self.context = context
495
self.label = label
0 commit comments