Reverting DockerUtil.js

This commit is contained in:
Jeffrey Morgan 2015-06-04 23:08:52 -07:00
parent 3a52e1c3f2
commit 6f7d9b80e7
1 changed files with 2 additions and 3 deletions

View File

@ -170,8 +170,6 @@ export default {
localStorage.setItem('placeholders', JSON.stringify(this.placeholders));
this.pullImage(repository, tag, error => {
delete this.placeholders[name];
localStorage.setItem('placeholders', JSON.stringify(this.placeholders));
if (error) {
containerServerActions.error({name, error});
return;
@ -181,6 +179,8 @@ export default {
return;
}
delete this.placeholders[name];
localStorage.setItem('placeholders', JSON.stringify(this.placeholders));
this.createContainer(name, {Image: imageName});
},
@ -374,7 +374,6 @@ export default {
var data = JSON.parse(str);
if (data.error) {
console.log(data.error);
callback(data.error);
return;
}