fix(ha-bootstrap): restore vcpus@7 field as deprecated UInt32 for config blob backward compatibility

This commit is contained in:
Rongsong Shen 2026-05-29 13:55:23 +00:00
parent ad7ea12563
commit 45f40c51c1
2 changed files with 2 additions and 1 deletions

View file

@ -682,7 +682,7 @@ struct ClusterConfig $C.mapname("cluster_config_t") {
inactiveHeartbeatCount @4: UInt32 $C.mapname("inactive_heartbeat_count");
fetchJobInterval @5: UInt32 $C.mapname("fetch_job_interval");
netioTimeout @6: UInt32 $C.mapname("netio_timeout");
vcpusDeprecated @7: Void; # removed — use --vcpus CLI flag instead
vcpus @7: UInt32 $C.mapname("vcpus"); # deprecated: use --vcpus CLI flag; kept for config blob backward compatibility
resources @8: List(Resource) $C.mapname("resources") $C.maplistcount("nres");
queues @9: List(QueueConf) $C.mapname("queues") $C.maplistcount("nqueues");
ugroups @10: List(GroupConfig) $C.mapname("ugroups") $C.maplistcount("nugroups");