diff --git a/cmd/init.go b/cmd/init.go index a7025b9..54db6a8 100644 --- a/cmd/init.go +++ b/cmd/init.go @@ -317,7 +317,7 @@ func getInitCommand() *cobra.Command { return fmt.Errorf("error creating configmap: %w", err) } - jobSpec, err := k8s.BuildJob(job.Name, job.DownloadURL) + jobSpec, err := k8s.BuildJob(job.DownloadURL, job.Name) if err != nil { return fmt.Errorf("error building job: %w", err) }