Skip to content
This repository was archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
Fix: allow cluster config to be printed when no username has been set (
Browse files Browse the repository at this point in the history
  • Loading branch information
mmduyzend authored and jafreck committed Jun 11, 2018
1 parent 98c601c commit 1cc71c7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions aztk_cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,9 +445,10 @@ def print_cluster_conf(cluster_conf: ClusterConfiguration, wait: bool):
log.info("gpu enabled: %s", str(cluster_conf.gpu_enabled()))
log.info("docker repo name: %s", cluster_conf.get_docker_repo())
log.info("wait for cluster: %s", wait)
log.info("username: %s", user_configuration.username)
if user_configuration.password:
log.info("Password: %s", '*' * len(user_configuration.password))
if user_configuration:
log.info("username: %s", user_configuration.username)
if user_configuration.password:
log.info("Password: %s", '*' * len(user_configuration.password))
log.info("Plugins:")
if not cluster_conf.plugins:
log.info(" None Configured")
Expand Down

0 comments on commit 1cc71c7

Please sign in to comment.