Skip to content

Commit

Permalink
Merge pull request #15 from devkimittal/devmittal
Browse files Browse the repository at this point in the history
Changed path delimiter to semicolon
  • Loading branch information
devkimittal authored May 2, 2023
2 parents 430c258 + e2f0696 commit 5f059eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion handler/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ func getGlobalVolumes(config *config.Config) []*spec.Volume {

func parseVolume(runnerVolume string) (volume *spec.Volume, err error) {

z := strings.SplitN(runnerVolume, ":", 2)
z := strings.SplitN(runnerVolume, ";", 2)
if len(z) != 2 {
return volume, fmt.Errorf("volume %s is not in the format src:dest", runnerVolume)
}
Expand Down
2 changes: 1 addition & 1 deletion handler/step.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func getGlobalVolumesMount(config *config.Config) []*spec.VolumeMount {
}

func parseVolumeMount(runnerVolume string) (volume *spec.VolumeMount, err error) {
z := strings.SplitN(runnerVolume, ":", 2)
z := strings.SplitN(runnerVolume, ";", 2)
if len(z) != 2 {
return volume, fmt.Errorf("volume %s is not in the format src:dest", runnerVolume)
}
Expand Down

0 comments on commit 5f059eb

Please sign in to comment.