Skip to content

Commit

Permalink
provision/docker: call migrateImages on Initialize
Browse files Browse the repository at this point in the history
Related to #712 (only missing some tests, before I close it).
  • Loading branch information
Francisco Souza committed Dec 11, 2014
1 parent 1d962b9 commit 2c81695
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion provision/docker/provisioner.go
Expand Up @@ -42,7 +42,11 @@ func getRouterForApp(app provision.App) (router.Router, error) {
type dockerProvisioner struct{}

func (p *dockerProvisioner) Initialize() error {
return initDockerCluster()
err := initDockerCluster()
if err != nil {
return err
}
return migrateImages()
}

// Provision creates a route for the container
Expand Down

0 comments on commit 2c81695

Please sign in to comment.