Skip to content

Commit bd9336a

Browse files
committed
minor fix
1 parent 2a27486 commit bd9336a

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

deployments/demo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func main() {
6060

6161
// user decided to provide plugins manually
6262
plugins_selected := a.GetPluginsFromUser()
63-
target_change = "s/boot_plugins: "+a.Settings.Riotpot.Boot_plugins+"/boot: "+strings.Join(plugins_selected, " ")+"/g"
63+
target_change = "s/boot_plugins: "+a.Settings.Riotpot.Boot_plugins+"/boot_plugins: "+strings.Join(plugins_selected, " ")+"/g"
6464
environ.ExecuteCmd("sed","-i", "-e", target_change, "../configs/samples/configuration.yml")
6565

6666
fmt.Printf("\nDocker containers available to run ")

internal/configuration/autopilot.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,13 @@ func (a *Autopilot) Start() {
4545
// Say Hi, don't be rude!
4646
a.Greeting()
4747

48-
// environ.ExecuteCmd("docker", "")
4948
a.wg = sync.WaitGroup{}
5049
a.wg.Add(1)
5150
a.Settings.Riotpot.Start = arrays.StringToArray(a.Settings.Riotpot.Boot_plugins)
51+
5252
// register all the services plugins
5353
a.RegisterPlugins()
5454
a.DiscoverImages()
55-
// _ = environ.CheckDockerExists("mongodb")
5655

5756
// loads the services which are available for user to run
5857
a.SetLoadedPlugins()

0 commit comments

Comments
 (0)