mirror of https://github.com/docker/docs.git
Ignores the kite-dns app and image during syncing.
This commit is contained in:
parent
0071a7fcf5
commit
80758ffbdb
|
@ -218,7 +218,7 @@ AppUtil.sync = function () {
|
|||
var startingApp = _.find(apps, function (app) {
|
||||
return app.status === 'STARTING' && app.name === appName;
|
||||
});
|
||||
if (!startingApp) {
|
||||
if (!startingApp && appName !== 'kite-dns') {
|
||||
var appPath = path.join(Util.KITE_PATH, appName);
|
||||
if (!fs.existsSync(appPath)) {
|
||||
console.log('Created Kite ' + appName + ' directory.');
|
||||
|
|
|
@ -333,7 +333,7 @@ ImageUtil.sync = function () {
|
|||
var buildingImage = _.find(images, function (image) {
|
||||
return image.status === 'BUILDING' && image.meta.name === name && image.meta.version === version;
|
||||
});
|
||||
if (!buildingImage && name !== '<none>' && version !== '<none>') {
|
||||
if (!buildingImage && name !== '<none>' && version !== '<none>' && name !== 'kite-dns') {
|
||||
var imageObj = {
|
||||
status: 'READY',
|
||||
docker: image,
|
||||
|
|
Loading…
Reference in New Issue