Skip to content

Commit

Permalink
bugfix to support parallel execution
Browse files Browse the repository at this point in the history
  • Loading branch information
johankristianss committed Dec 12, 2023
1 parent f2a02bb commit c868b87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/colonies/colonies.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func CreateFuncSpec(colonyName string, project *project.Project, snapshotID stri

args := make([]interface{}, 0)
kwargsArgs := make([]interface{}, 0)
kwargsArgs = append(kwargsArgs, "/cfs/"+project.ProjectName+"/src/"+project.Environment.SourceFile)
kwargsArgs = append(kwargsArgs, "/cfs/"+project.ProjectName+"/"+snapshotID+"/src/"+project.Environment.SourceFile)

kwargs := make(map[string]interface{}, 1)
kwargs["cmd"] = project.Environment.Cmd
Expand All @@ -75,7 +75,7 @@ func CreateFuncSpec(colonyName string, project *project.Project, snapshotID stri
snapshot1 := core.SnapshotMount{
Label: "/pollinator/" + project.ProjectName + "/src",
SnapshotID: snapshotID,
Dir: "/" + project.ProjectName + "/src",
Dir: "/" + project.ProjectName + "/" + snapshotID + "/src",
KeepFiles: false,
KeepSnaphot: false}

Expand Down

0 comments on commit c868b87

Please sign in to comment.