Skip to content

Commit

Permalink
Refactoring more, switching to another branch
Browse files Browse the repository at this point in the history
  • Loading branch information
csegarragonz committed Feb 28, 2020
1 parent e35dfe3 commit 5dc3a60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions kollaps/Dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,9 @@ def startExperiment():


def resolve_hostnames():
experimentUUID = environ.get('NEED_UUID', '')
experimentUUID = environ.get('KOLLAPS_UUID', '')

orchestrator = getenv('NEED_ORCHESTRATOR', 'swarm')
orchestrator = getenv('KOLLAPS_ORCHESTRATOR', 'swarm')
if orchestrator == 'kubernetes':
config.load_incluster_config()
kubeAPIInstance = client.CoreV1Api()
Expand Down
4 changes: 2 additions & 2 deletions kollaps/bootstrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def main():
bootstrapper_id = sys.argv[3] if len(sys.argv) > 3 else None

bootstrapper = None
orchestrator = os.getenv('NEED_ORCHESTRATOR', 'swarm')
orchestrator = os.getenv('KOLLAPS_ORCHESTRATOR', 'swarm')

if orchestrator == 'kubernetes':
bootstrapper = KubernetesBootstrapper()
Expand All @@ -63,4 +63,4 @@ def main():

if __name__ == '__main__':
main()


0 comments on commit 5dc3a60

Please sign in to comment.