mirror of https://github.com/docker/docs.git
Reverting DockerUtil.js
This commit is contained in:
parent
3a52e1c3f2
commit
6f7d9b80e7
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue