Skip to content

Commit

Permalink
fix: The kubectl url of member cluster's node incorrect (#3413)
Browse files Browse the repository at this point in the history
fix: The kubectl url of member cluster's node inccorect

Signed-off-by: TheYoungManLi <[email protected]>
  • Loading branch information
weili520 authored Jun 24, 2022
1 parent 7abc6ec commit 637fc46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Modals/KubeCtl/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default class KubeCtlModal extends React.Component {
async fetchData() {
if (this.props.nodename) {
this.store.setNodename(this.props.nodename)
this.getKubeWebUrl()
this.getKubeWebUrl(this.props.cluster)
return
}

Expand Down
1 change: 1 addition & 0 deletions src/pages/clusters/containers/Nodes/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ export default class Nodes extends React.Component {
Modal.close(modal)
},
modal: KubeCtlModal,
cluster: this.cluster,
title: record.name,
nodename: record.name,
isEdgeNode: true,
Expand Down

0 comments on commit 637fc46

Please sign in to comment.