diff --git a/app/components/createContainer/createContainerController.js b/app/components/createContainer/createContainerController.js index c62817aac..17fba00ce 100644 --- a/app/components/createContainer/createContainerController.js +++ b/app/components/createContainer/createContainerController.js @@ -349,6 +349,12 @@ function ($q, $scope, $state, $timeout, $transition$, $filter, Container, Contai } } + $scope.resetNetworkConfig = function() { + $scope.config.NetworkingConfig = { + EndpointsConfig: {} + }; + }; + function loadFromContainerNetworkConfig(d) { $scope.config.NetworkingConfig = { EndpointsConfig: {} diff --git a/app/components/createContainer/createcontainer.html b/app/components/createContainer/createcontainer.html index 8ac6a7c84..32b329c94 100644 --- a/app/components/createContainer/createcontainer.html +++ b/app/components/createContainer/createcontainer.html @@ -296,7 +296,7 @@