Skip to content

Commit

Permalink
Fixed seed db substitution
Browse files Browse the repository at this point in the history
  • Loading branch information
Andriiklymiuk committed Mar 28, 2024
1 parent 1ecbd68 commit d5e7380
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/spf13/cobra"
)

var APP_VERSION = "1.3.1"
var APP_VERSION = "1.3.2"

// rootCmd represents the base command when called without any subcommands
var rootCmd = &cobra.Command{
Expand Down
2 changes: 2 additions & 0 deletions utils/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ func GetCorgiServices(cobra *cobra.Command) (*CorgiCompose, error) {
}

if (seedFromDb == SeedFromDb{}) {
seedFromDb = db.SeedFromDb
} else {
if db.SeedFromDb.Host != "" {
seedFromDb.Host = db.SeedFromDb.Host
}
Expand Down

0 comments on commit d5e7380

Please sign in to comment.