Skip to content

Commit

Permalink
Update nsx version name
Browse files Browse the repository at this point in the history
Signed-off-by: Wenqi Qiu <[email protected]>
  • Loading branch information
wenqiq committed Jul 11, 2024
1 parent 230837e commit 71bb52d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions pkg/nsx/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,12 @@ type Client struct {
}

var (
nsx320Version = [3]int64{3, 2, 0}
nsx401Version = [3]int64{4, 0, 1}
nsx411Version = [3]int64{4, 1, 1}
nsx412Version = [3]int64{4, 1, 2}
nsx413Version = [3]int64{4, 1, 3}
nsxWithNodeTypeVersion = [3]int64{9, 0, 0}
nsx320Version = [3]int64{3, 2, 0}
nsx401Version = [3]int64{4, 0, 1}
nsx411Version = [3]int64{4, 1, 1}
nsx412Version = [3]int64{4, 1, 2}
nsx413Version = [3]int64{4, 1, 3}
nsx900Version = [3]int64{9, 0, 0}
)

type NSXHealthChecker struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/nsx/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ func (nsxVersion *NsxVersion) featureSupported(feature int) bool {
minVersion = nsx411Version
validFeature = true
case NodeType:
minVersion = nsxWithNodeTypeVersion
minVersion = nsx900Version
validFeature = true
}

Expand Down

0 comments on commit 71bb52d

Please sign in to comment.