mirror of
https://github.com/docker/docs.git
synced 2026-11-05 00:14:17 +03:00
Ignores the kite-dns app and image during syncing.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user