Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #108 from vania-pooh/master
Browse files Browse the repository at this point in the history
Fixing default video output path
  • Loading branch information
vania-pooh authored Nov 28, 2017
2 parents 2855c57 + a452083 commit 0e2d676
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion selenoid/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ func (c *DockerConfigurator) Start() error {
videoConfigDir := getVolumeConfigDir(filepath.Join(c.ConfigDir, videoDirName), append(selenoidConfigDirElem, videoDirName))
volumes := []string{
fmt.Sprintf("%s:/etc/selenoid:ro", volumeConfigDir),
fmt.Sprintf("%s:/output", videoConfigDir),
fmt.Sprintf("%s:/opt/selenoid/video", videoConfigDir),
}
const dockerSocket = "/var/run/docker.sock"
if fileExists(dockerSocket) {
Expand Down
4 changes: 2 additions & 2 deletions selenoid/lifecycle.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@ func (l *Lifecycle) Start() error {
func() error {
if l.runnable.IsRunning() {
if l.Force {
l.Titlef("Stopping previous Selenoid instance...\n")
l.Titlef("Stopping previous Selenoid instance...")
err := l.Stop()
if err != nil {
return fmt.Errorf("failed to stop previous Selenoid instance: %v\n", err)
return fmt.Errorf("failed to stop previous Selenoid instance: %v", err)
}
} else {
l.Titlef("Selenoid is already running")
Expand Down

0 comments on commit 0e2d676

Please sign in to comment.