From e15856c62c52320cdf4edc9dcce6c76bab7bc9cd Mon Sep 17 00:00:00 2001 From: Anthony Lapenna Date: Thu, 31 May 2018 22:00:18 +0200 Subject: [PATCH] fix(init-endpoint): fix an issue preventing the init of a remote endpoint --- app/portainer/views/init/endpoint/initEndpointController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/portainer/views/init/endpoint/initEndpointController.js b/app/portainer/views/init/endpoint/initEndpointController.js index 6af86fbd3..69aaa4d63 100644 --- a/app/portainer/views/init/endpoint/initEndpointController.js +++ b/app/portainer/views/init/endpoint/initEndpointController.js @@ -107,7 +107,7 @@ function ($scope, $state, EndpointService, StateManager, EndpointProvider, Notif }); } - function createRemoteEndpoint(name, URL, PublicURL, TLS, TLSSkipVerify, TLSSKipClientVerify, TLSCAFile, TLSCertFile, TLSKeyFile) { + function createRemoteEndpoint(name, type, URL, PublicURL, TLS, TLSSkipVerify, TLSSKipClientVerify, TLSCAFile, TLSCertFile, TLSKeyFile) { var endpoint; $scope.state.actionInProgress = true; EndpointService.createRemoteEndpoint(name, type, URL, PublicURL, 1, TLS, TLSSkipVerify, TLSSKipClientVerify, TLSCAFile, TLSCertFile, TLSKeyFile)