Skip to content

Commit 6b9514c

Browse files
committed
fix: small cleanups
1 parent 79fcbe6 commit 6b9514c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

k8smonitor/kubernetes_wrapper.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import kubernetes
2-
import subprocess
32

43
def discover():
54
config = kubernetes.config

k8smonitor/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import uuid
33
import json
44
import websocket
5+
56
from k8smonitor import config
67
from k8smonitor import kubernetes_wrapper
78

@@ -10,7 +11,7 @@
1011
url = 'ws://%(hostname)s:%(port)s/api/v1/register/%(uuid)s' % {
1112
'hostname': config.KUBERNETES_AGENT['HOSTNAME'],
1213
'port': config.KUBERNETES_AGENT['PORT'],
13-
'uuid': myUuid,
14+
'uuid': str(myUuid),
1415
}
1516

1617
print('attempting to connect to %s' % url)

0 commit comments

Comments
 (0)