Skip to content

Commit

Permalink
fix: is_classic is missing from network details (#21995)
Browse files Browse the repository at this point in the history
Co-authored-by: Qiu Jian <[email protected]>
  • Loading branch information
swordqiu and Qiu Jian authored Jan 21, 2025
1 parent 0a432e1 commit 569fa01
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/compute/models/networks.go
Original file line number Diff line number Diff line change
Expand Up @@ -1235,6 +1235,9 @@ func (manager *SNetworkManager) FetchCustomizeColumns(
if network.IsExitNetwork() {
rows[i].Exit = true
}
if network.IsClassic() {
rows[i].IsClassic = true
}
rows[i].Ports = network.GetPorts()
rows[i].Routes = network.GetRoutes()
rows[i].Schedtags = GetSchedtagsDetailsToResourceV2(network, ctx)
Expand Down

0 comments on commit 569fa01

Please sign in to comment.