We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1c8282 commit f5a9153Copy full SHA for f5a9153
lib/Service/GlobalScaleService.php
@@ -111,6 +111,11 @@ public function __construct(
111
* @return array
112
*/
113
public function getGlobalScaleInstances(): array {
114
+ $mockup = $this->configService->getGSSMockup();
115
+ if (!empty($mockup)) {
116
+ return $mockup;
117
+ }
118
+
119
try {
120
$lookup = $this->configService->getGSLookup();
121
$request = new NC22Request(ConfigService::GS_LOOKUP_INSTANCES, Request::TYPE_POST);
@@ -126,7 +131,7 @@ public function getGlobalScaleInstances(): array {
126
131
} catch (GSStatusException $e) {
127
132
}
128
133
129
- return $this->configService->getGSSMockup();
134
+ return [];
130
135
136
137
0 commit comments