Browse Source

En cours de développement

master
mls-361 11 months ago
parent
commit
525f75be3e
  1. 8
      internal/cli/jobs.go

8
internal/cli/jobs.go

@ -68,19 +68,19 @@ func jobCreate(ccs *components.Components) error {
return err
}
model, err := newRequestor(ccs)
requestor, err := newRequestor(ccs)
if err != nil {
return err
}
nj, err := model.CreateJob(job)
job, err = requestor.CreateJob(job)
if err != nil {
return err
}
data, err := json.MarshalIndent(nj, "", " ")
data, err := json.MarshalIndent(job, "", " ")
if err != nil {
fmt.Printf("%+v\n\n", nj)
fmt.Printf("%+v\n\n", job)
return err
}

Loading…
Cancel
Save