@kumori/aurora-backend-handler 1.0.81 → 1.0.82
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.
- package/package.json +1 -1
- package/websocket-manager.ts +5 -2
package/package.json
CHANGED
package/websocket-manager.ts
CHANGED
|
@@ -1910,12 +1910,15 @@ export const updateUserComplete = (updatedUserData: UserData): User => {
|
|
|
1910
1910
|
}
|
|
1911
1911
|
};
|
|
1912
1912
|
const resolveServiceStatus = (service: Service): Service => {
|
|
1913
|
-
|
|
1914
|
-
|
|
1913
|
+
if (service.status?.code === "REMOVING_SERVICE") {
|
|
1914
|
+
return service;
|
|
1915
|
+
}
|
|
1915
1916
|
|
|
1916
1917
|
if (service.error) {
|
|
1917
1918
|
return service;
|
|
1918
1919
|
}
|
|
1920
|
+
const revisionKey = `${service.tenant}/${service.name}-${service.currentRevision}`;
|
|
1921
|
+
const currentRevision = revisionsMap.get(revisionKey);
|
|
1919
1922
|
|
|
1920
1923
|
if (!currentRevision) {
|
|
1921
1924
|
return service;
|