Skip to content

Commit

Permalink
Fix pass docker repo command back to the cluster config (Azure#538)
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheeguerin committed May 3, 2018
1 parent 4d4916e commit a99bbe1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,14 @@
my-custom-scripts/
.aztk

# Virtual environments
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@
"python.formatting.yapfArgs": [
"--style=.style.yapf"
],
"python.pythonPath": "${workspaceFolder}\\ENV\\Scripts\\python.exe"
"python.venvPath": "${workspaceFolder}/.venv/",
"python.pythonPath": "${workspaceFolder}/.venv/Scripts/python.exe"
}
4 changes: 4 additions & 0 deletions aztk_cli/spark/endpoints/cluster/cluster_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ def execute(args: typing.NamedTuple):
username=args.username,
password=args.password,
)))

if args.docker_repo and cluster_conf.toolkit:
cluster_conf.toolkit.docker_repo = args.docker_repo

wait = wait if args.wait is None else args.wait

user_configuration = cluster_conf.user_configuration
Expand Down

0 comments on commit a99bbe1

Please sign in to comment.