Skip to content
This repository has been archived by the owner on May 4, 2019. It is now read-only.

Commit

Permalink
Do not force container rebuild
Browse files Browse the repository at this point in the history
manuquentin committed Jul 28, 2014
1 parent baba2a5 commit f3e2b75
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions gaudi/gaudi.go
Original file line number Diff line number Diff line change
@@ -108,13 +108,9 @@ func (gaudi *Gaudi) InitFromFile(file string) {
}

func (gaudi *Gaudi) StartApplications(rebuild bool) {
// Force rebuild if needed
if rebuild == false {
rebuild = gaudi.shouldRebuild()

if rebuild {
util.PrintOrange("Changes detected in configuration file, rebuilding containers ...")
}
// Notify user to rebuild
if rebuild == false && gaudi.shouldRebuild() {
util.PrintOrange("Changes detected in the configuration file, please consider to rebuild containers with `gaudi rebuild`.")
}

gaudi.Applications.Start(rebuild)

0 comments on commit f3e2b75

Please sign in to comment.