-
Notifications
You must be signed in to change notification settings - Fork 309
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NAS-132335: Adding disks to containers
- Loading branch information
Showing
767 changed files
with
3,161 additions
and
2,693 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { getMissingInjectionErrorFactory, getMissingInjectionErrorObservable } from 'app/core/testing/utils/missing-injection-factories'; | ||
import { ApiService } from 'app/services/api.service'; | ||
|
||
export class EmptyApiService { | ||
readonly clearSubscriptions$ = getMissingInjectionErrorObservable(ApiService.name); | ||
call = getMissingInjectionErrorFactory(ApiService.name); | ||
job = getMissingInjectionErrorFactory(ApiService.name); | ||
callAndSubscribe = getMissingInjectionErrorFactory(ApiService.name); | ||
startJob = getMissingInjectionErrorFactory(ApiService.name); | ||
subscribe = getMissingInjectionErrorFactory(ApiService.name); | ||
subscribeToLogs = getMissingInjectionErrorFactory(ApiService.name); | ||
clearSubscriptions = getMissingInjectionErrorFactory(ApiService.name); | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/app/enums/websocket-error-name.enum.ts → src/app/enums/api-error-name.enum.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { ApiError } from 'app/interfaces/api-error.interface'; | ||
|
||
export function isApiError(error: unknown): error is ApiError { | ||
if (error === null) return false; | ||
|
||
return typeof error === 'object' | ||
&& 'error' in error | ||
&& 'extra' in error | ||
&& 'reason' in error | ||
&& 'trace' in error; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.