mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 05:19:39 +02:00
fix(core/home): fix an issue when connecting to an Edge kubernetes endpoint (#4274)
This commit is contained in:
parent
eb0278d230
commit
0019b22be5
3 changed files with 9 additions and 12 deletions
|
@ -18,7 +18,7 @@ angular.module('portainer.kubernetes', ['portainer.app']).config([
|
|||
try {
|
||||
if (endpoint.Type === 7) {
|
||||
try {
|
||||
await KubernetesHealthService.ping();
|
||||
await KubernetesHealthService.ping(endpoint.Id);
|
||||
endpoint.Status = 1;
|
||||
} catch (e) {
|
||||
endpoint.Status = 2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue