Skip to content

Commit

Permalink
Don't start docker if not db services provided
Browse files Browse the repository at this point in the history
  • Loading branch information
Andriiklymiuk committed Oct 5, 2022
1 parent e0ddaf2 commit 39c6170
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ func runRun(cmd *cobra.Command, args []string) {
}

func runDatabaseServices(cmd *cobra.Command, databaseServices []utils.DatabaseService) {
if len(databaseServices) == 0 {
return
}
isSeed, err := cmd.Flags().GetBool("seed")
if err != nil {
return
Expand Down

0 comments on commit 39c6170

Please sign in to comment.