migrated EnsureUsableImage to EnsureImageExists

This commit is contained in:
Henrique Chehad
2016-08-30 11:08:54 -03:00
parent 662216f7f1
commit 615b421dfa
2 changed files with 3 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ func handleRouteCreate(c *gin.Context) {
return
}
err = Api.Runner.EnsureUsableImage(ctx, &runner.Config{
err = Api.Runner.EnsureImageExists(ctx, &runner.Config{
Image: wroute.Route.Image,
})
if err != nil {