@kumori/aurora-backend-handler 1.0.57 → 1.0.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -146,11 +146,10 @@ const processRolesAndInstances = (
|
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
const role: Role = {
|
|
149
|
+
...(existingRole ?? {}),
|
|
149
150
|
name: roleName,
|
|
150
151
|
instances: roleInstances,
|
|
151
|
-
hsize: (roleData as any).status?.scale || 0,
|
|
152
|
-
...(existingRole?.scalling && { scalling: existingRole.scalling }),
|
|
153
|
-
...(existingRole?.category && { category: existingRole.category }),
|
|
152
|
+
hsize: (roleData as any).status?.scale || existingRole?.hsize || 0,
|
|
154
153
|
};
|
|
155
154
|
|
|
156
155
|
roles.push(role);
|