Skip to content

Commit 8a68fea

Browse files
committed
progress sync
1 parent c192806 commit 8a68fea

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

internal/configuration/autopilot.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import (
99
"bufio"
1010
"strconv"
1111
"strings"
12-
// "os/exec"
1312

1413
"gorm.io/gorm"
1514
"github.com/riotpot/pkg/services"
@@ -56,6 +55,7 @@ func (a *Autopilot) Start() {
5655

5756
// loads the services which are available for user to run
5857
a.loaded_plugins = a.services.GetServicesNames(a.services.GetServices())
58+
a.plugins_to_run = a.Settings.Riotpot.Start
5959

6060
// check if the build is local or containerized
6161
if a.Settings.Riotpot.Local_build_on == "1" {
@@ -148,7 +148,6 @@ func (a *Autopilot) Start() {
148148
}
149149
}
150150

151-
152151
// Check if the starting must be all the registered
153152
// or from the `Start` list.
154153

tools/environ/syscmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func ExecuteCmd(app string, args ...string) (output string) {
9494
return string(out)
9595
}
9696

97-
// Execute command and return the output, if any
97+
// Outputs if docker contianer of the given name exists already
9898
func CheckDockerExists(name string) (bool) {
9999
arg := "name="+name
100100
cmd := ExecuteCmd("docker", "ps", "-a", "--filter", arg)

0 commit comments

Comments
 (0)