Skip to content

Commit 9d21890

Browse files
fix log_collector.py yaml load command
1 parent 45ec961 commit 9d21890

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

log_collector.py

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ def get_namespace_from_config():
224224
if rc:
225225
return
226226

227-
config = yaml.loads(out)
227+
config = yaml.load(out)
228228
current_context = config.get('current-context')
229229
if not current_context:
230230
return

0 commit comments

Comments
 (0)