Skip to content

Commit b056d3c

Browse files
authored
fix(k8s): change field name for Kosmos rpc message (#664)
1 parent d01aba0 commit b056d3c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/clients/src/api/k8s/v1/marshalling.gen.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,11 +251,12 @@ export const unmarshalExternalNode = (data: unknown) => {
251251
return {
252252
clusterCa: data.cluster_ca,
253253
clusterUrl: data.cluster_url,
254-
clusterVersion: data.cluster_version,
254+
externalIp: data.external_ip,
255255
id: data.id,
256256
kubeletConfig: data.kubelet_config,
257257
kubeToken: data.kube_token,
258258
name: data.name,
259+
poolVersion: data.pool_version,
259260
} as ExternalNode
260261
}
261262

packages/clients/src/api/k8s/v1/types.gen.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,10 +420,11 @@ export interface ExternalNode {
420420
id: string
421421
name: string
422422
clusterUrl: string
423-
clusterVersion: string
423+
poolVersion: string
424424
clusterCa: string
425425
kubeToken: string
426426
kubeletConfig: string
427+
externalIp: string
427428
}
428429

429430
/** List cluster available versions response. */

0 commit comments

Comments
 (0)