Skip to content

Commit

Permalink
use global version of Ensure.
Browse files Browse the repository at this point in the history
  • Loading branch information
hugosantos committed Jul 13, 2024
1 parent e1dd20a commit d03e25a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions internal/providers/nscloud/api/rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,6 @@ func MakeAPI() API {
Method: "nsl.vm.api.VMService/StartContainers",
},

EnsureKubernetesCluster: fnapi.Call[EnsureKubernetesClusterRequest]{
IssueBearerToken: fnapi.IssueBearerToken,
Method: "nsl.vm.api.VMService/EnsureKubernetesCluster",
},

WaitKubernetesCluster: fnapi.Call[WaitKubernetesClusterRequest]{
IssueBearerToken: fnapi.IssueBearerToken,
Method: "nsl.vm.api.VMService/WaitKubernetesCluster",
Expand Down Expand Up @@ -159,6 +154,11 @@ func MakeAPI() API {
Retryable: true,
},

EnsureKubernetesCluster: fnapi.Call[EnsureKubernetesClusterRequest]{
IssueBearerToken: fnapi.IssueBearerToken,
Method: "namespace.private.vm.GlobalVMService/EnsureKubernetesCluster",
},

ListKubernetesClusters: fnapi.Call[ListKubernetesClustersRequest]{
IssueBearerToken: fnapi.IssueBearerToken,
Method: "namespace.private.vm.GlobalVMService/ListKubernetesClusters",
Expand Down

0 comments on commit d03e25a

Please sign in to comment.