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