Skip to content

Commit

Permalink
fix data clone command (#230)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReDeiPirati authored and houqp committed Jan 11, 2019
1 parent 595a269 commit 80c7fe0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions floyd/cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,12 @@ def normalize_data_name(raw_name, default_username='', default_dataset_name='',

def normalize_job_name(raw_job_name, default_username='', default_project_name='', use_config=True):
raw_job_name = raw_job_name or ''

namespace = default_username
if use_config:
default_project_name = default_project_name or current_project_name()
namespace = namespace or current_project_namespace()

name_parts = raw_job_name.split('/')

namespace = default_username or current_project_namespace()
project_name = default_project_name
number = '' # current job number

Expand Down

0 comments on commit 80c7fe0

Please sign in to comment.