fix latest
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2020-12-06 00:20:17 +01:00
parent 2a40c59d53
commit f63684d8e8

View File

@ -16,7 +16,8 @@ from config import RELEASEMODE
class Kubectl:
def __init__(self, name: str, resourcetype: str = "ingest", stream_key: str = "test", push_urls: str = "",
ffmpeg_args: str = "", encode_push_urls: str = ""):
config.load_incluster_config()
if RELEASEMODE != "dev":
config.load_incluster_config()
self.name = name
self.streamtype = resourcetype.lower(),
self.stream_key = stream_key,