From 25341ea439be7141e57e274922c60fb40cf59aff Mon Sep 17 00:00:00 2001 From: Christian Compton Date: Mon, 28 Aug 2017 09:19:10 -0500 Subject: [PATCH] feat: kubernetes support --- refresh/index.js | 2 +- test/unit/refresh.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/refresh/index.js b/refresh/index.js index 2b4689b1..d21b98e3 100644 --- a/refresh/index.js +++ b/refresh/index.js @@ -1297,7 +1297,7 @@ module.exports = Generator.extend({ writeKubernetesFiles: function () { if (!this.docker) return - var server = (this.bluemix && this.bluemix.domain && this.bluemix.namespace) ? {domain: this.bluemix.domain, namespace: this.bluemix.namespace } : undefined + var server = (this.bluemix && this.bluemix.domain && this.bluemix.namespace) ? { domain: this.bluemix.domain, namespace: this.bluemix.namespace } : undefined this.composeWith(require.resolve('generator-ibm-cloud-enablement/generators/kubernetes'), {force: this.force, bluemix: { backendPlatform: 'SWIFT', name: this.cleanAppName, server: server }}) }, diff --git a/test/unit/refresh.js b/test/unit/refresh.js index fa2d77f1..ed9152d6 100644 --- a/test/unit/refresh.js +++ b/test/unit/refresh.js @@ -1578,7 +1578,6 @@ describe('swiftserver:refresh', function () { describe('Generate skeleton web application for bluemix with incorrect custom options', function () { var runContext - before(function () { // Set up the spec file which should create all the necessary files for a server var spec = {