فهرست منبع

fix(cockpit): add empty infrastructure archive adapter (#32)

Kazerin 1 ماه پیش
والد
کامیت
8119bee759

+ 12 - 0
pipe-network-service/zksy-system/src/main/java/com/zksy/cockpit/infrastructure/EmptyCockpitInfrastructureBaseArchivesAdapter.java

@@ -0,0 +1,12 @@
+package com.zksy.cockpit.infrastructure;
+
+import org.springframework.stereotype.Component;
+
+@Component
+public class EmptyCockpitInfrastructureBaseArchivesAdapter
+        implements CockpitInfrastructureBaseArchivesAdapter {
+    @Override
+    public CockpitInfrastructureBaseArchivesSnapshot load() {
+        return null;
+    }
+}