diff --git a/src/images/index.js b/src/images/index.js index b0e06091..e902b246 100644 --- a/src/images/index.js +++ b/src/images/index.js @@ -1,8 +1,7 @@ import { _, fs, t, path, isBlank, lazy_require } from 'azk'; import { publish } from 'azk/utils/postal'; import { async } from 'azk/utils/promises'; -import { ManifestError, NoInternetConnection } from 'azk/utils/errors'; -import { net } from 'azk/utils'; +import { ManifestError } from 'azk/utils/errors'; import Utils from 'azk/utils'; import { default as tracker } from 'azk/utils/tracker'; @@ -71,12 +70,6 @@ export class Image { type: "action", context: "image", action: "pull_image", data: this }); - // Check is online before try pull - var currentOnline = yield net.isOnlineCheck(); - if ( !currentOnline ) { - throw new NoInternetConnection(); - } - yield this._track('pull'); yield lazy.docker.pull(this.repository, this.tag);