File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ def __init__(self, agentConfig):
9393 self .kubeutil = KubeUtil ()
9494 except Exception as ex :
9595 self .kubeutil = None
96- self . log .error ("Couldn't instantiate the kubernetes client, "
96+ log .error ("Couldn't instantiate the kubernetes client, "
9797 "subsequent kubernetes calls will fail as well. Error: %s" % str (ex ))
9898 self .VAR_MAPPING = {
9999 'host' : self ._get_host_address ,
@@ -107,7 +107,7 @@ def _make_fetch_state(self):
107107 pod_list = []
108108 if Platform .is_k8s ():
109109 if not self .kubeutil :
110- self . log .error ("kubelet client not created, cannot retrieve pod list." )
110+ log .error ("kubelet client not created, cannot retrieve pod list." )
111111 else :
112112 try :
113113 pod_list = self .kubeutil .retrieve_pods_list ().get ('items' , [])
You can’t perform that action at this time.
0 commit comments