Skip to content

Commit

Permalink
Merge pull request #724 from pachyderm/fix_pretest
Browse files Browse the repository at this point in the history
Fixes make pretest
  • Loading branch information
jdoliner committed Aug 17, 2016
2 parents 7aa2f20 + 1936c5f commit 51ab58e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/server/pfs/drive/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -1503,10 +1503,10 @@ func validateRepoName(name string) error {
return fmt.Errorf("repo name (%v) invalid: only alphanumeric and underscore characters allowed", name)
}
if strings.Contains(name, "/") {
fmt.Errorf("repo names cannot contain /")
return fmt.Errorf("repo names cannot contain /")
}
if client.ReservedRepoNames[name] {
fmt.Errorf("repo name %s is a reserved keyword")
return fmt.Errorf("repo name %s is a reserved keyword", name)
}
return nil
}
2 changes: 1 addition & 1 deletion src/server/pps/server/api_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func (a *apiServer) CreateJob(ctx context.Context, request *ppsclient.CreateJobR
})
if err == nil {
// the job already exists. we simply return
return &ppsclient.Job{jobID}, nil
return &ppsclient.Job{ID: jobID}, nil
}
}

Expand Down

0 comments on commit 51ab58e

Please sign in to comment.