mirror of https://github.com/portainer/portainer
fix(init-endpoint): fix an issue preventing the init of a remote endpoint
parent
c4576e9e2f
commit
e15856c62c
|
@ -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;
|
var endpoint;
|
||||||
$scope.state.actionInProgress = true;
|
$scope.state.actionInProgress = true;
|
||||||
EndpointService.createRemoteEndpoint(name, type, URL, PublicURL, 1, TLS, TLSSkipVerify, TLSSKipClientVerify, TLSCAFile, TLSCertFile, TLSKeyFile)
|
EndpointService.createRemoteEndpoint(name, type, URL, PublicURL, 1, TLS, TLSSkipVerify, TLSSKipClientVerify, TLSCAFile, TLSCertFile, TLSKeyFile)
|
||||||
|
|
Loading…
Reference in New Issue