Skip to content
This repository was archived by the owner on Oct 9, 2018. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions http/analysis-service/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -981,6 +981,9 @@ def cluster_spawn():
if val is None or val.strip() == '':
errors[f] = "This field is required"

if ' ' in request.form['name']:
errors[f] = "Spaces are not allowed in the cluster name."

try:
n_workers = int(request.form["num_workers"])
if n_workers <= 0 or n_workers > 20:
Expand Down