File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
packages/kubernetes/src/services Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ export class KubeRunnerParameters extends RunnerParameters implements Kubernetes
53
53
/**
54
54
* Type of action returned by LocalRunner
55
55
*/
56
- export interface KubeJob { }
56
+ export interface KubeJob extends k8s . V1Job { }
57
57
58
58
/**
59
59
* Run a Job locally on the server by spawning a child process
@@ -100,8 +100,7 @@ export default class KubeRunner<T extends KubeRunnerParameters = KubeRunnerParam
100
100
}
101
101
}
102
102
// Launch the resource now
103
- const result = await this . client . create ( resources ) ;
104
- return { metadata : result . body . metadata , apiVersion : result . body . apiVersion , kind : result . body . kind } ;
103
+ return await this . client . create ( resources ) ;
105
104
}
106
105
107
106
/**
You can’t perform that action at this time.
0 commit comments