fix(frontend): remove conf.vcpus from cClusterConfToClusterInfo — field moved to myconf_t
This commit is contained in:
parent
b6c8aca458
commit
6b821eb4d5
1 changed files with 1 additions and 1 deletions
|
|
@ -200,7 +200,7 @@ func cClusterConfToClusterInfo(conf *C.cluster_config_t) *models.ClusterInfo {
|
|||
return rawClusterToModel(rawClusterData{
|
||||
name: name,
|
||||
heartbeatInterval: int(conf.heartbeat_interval),
|
||||
vcpus: int(conf.vcpus),
|
||||
vcpus: 0, // vcpus moved to myconf_t (--vcpus CLI flag); not in cluster_config_t
|
||||
inactiveHeartbeatCount: int(conf.inactive_heartbeat_count),
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue