mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fixup uses of AsyncResult and autoBind
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
9546e55961
commit
f8aa389930
37 files changed
+72
-71
No files matched your search
@@ -72,7 +72,7 @@ export class ResourceStack {
|
||||
return "";
|
||||
}
|
||||
|
||||
protected async applyResources(resources: string[], extraArgs: string[] = []): Promise<AsyncResult<string, string>> {
|
||||
protected async applyResources(resources: string[], extraArgs: string[] = []): AsyncResult<string, string> {
|
||||
const kubectlArgs = [...extraArgs, ...this.getAdditionalArgs(extraArgs)];
|
||||
|
||||
return this.dependencies.kubectlApplyAll({
|
||||
@@ -82,7 +82,7 @@ export class ResourceStack {
|
||||
});
|
||||
}
|
||||
|
||||
protected async deleteResources(resources: string[], extraArgs: string[] = []): Promise<AsyncResult<string, string>> {
|
||||
protected async deleteResources(resources: string[], extraArgs: string[] = []): AsyncResult<string, string> {
|
||||
const kubectlArgs = [...extraArgs, ...this.getAdditionalArgs(extraArgs)];
|
||||
|
||||
return this.dependencies.kubectlDeleteAll({
|
||||
|
||||
Reference in new issue
Block a user