mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-01 00:45:23 +00:00
service: Fix typo and type errors
Signed-off-by: Pablo Carranza Velez <pablo@balena.io>
This commit is contained in:
parent
87a8d8f8f4
commit
047ca2ae68
@ -658,13 +658,13 @@ export class Service {
|
|||||||
|
|
||||||
public handoverCompleteFullPathsOnHost(): string[] {
|
public handoverCompleteFullPathsOnHost(): string[] {
|
||||||
return [
|
return [
|
||||||
path.join(handoverCompletePathOnHost(), 'handover-complete'),
|
path.join(this.handoverCompletePathOnHost(), 'handover-complete'),
|
||||||
path.join(handoverCompletePathOnHost(), 'resin-kill-me'),
|
path.join(this.handoverCompletePathOnHost(), 'resin-kill-me'),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
private handoverCompletePathOnHost(): string {
|
private handoverCompletePathOnHost(): string {
|
||||||
return path.join(constants.rootMountPoint, updateLock.lockPath(this.appId, this.serviceName));
|
return path.join(constants.rootMountPoint, updateLock.lockPath(this.appId || 0, this.serviceName || ''));
|
||||||
}
|
}
|
||||||
|
|
||||||
private getBindsAndVolumes(): {
|
private getBindsAndVolumes(): {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user