core: fix storage check display (#603)

This commit is contained in:
panda authored and GitHub committed 2023-07-03 00:34:50 +08:00
1 parent 1c91ac470c
commit d3f9a64b9b
1 file changed
+3 -3
+3 -3
View File
@@ -256,7 +256,7 @@ class RemoteStorageService {
async status() {
return {
type: 'S3',
status: !!this.error,
status: !this.error,
error: this.error,
bucket: this.bucket,
};
@@ -265,7 +265,7 @@ class RemoteStorageService {
class LocalStorageService {
client: null;
error: null;
error = '';
dir: string;
opts: null;
private replaceWithAlternativeUrlFor: Record<'user' | 'judge', (originalUrl: string) => string>;
@@ -342,7 +342,7 @@ class LocalStorageService {
async status() {
return {
type: 'Local',
status: !!this.error,
status: !this.error,
error: this.error,
bucket: 'Hydro',
};