mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-20 06:07:57 +00:00
misc: Fix lint errors
Signed-off-by: Cameron Diver <cameron@balena.io>
This commit is contained in:
parent
b3192679c7
commit
1570935b2c
@ -802,8 +802,8 @@ export class Service {
|
|||||||
appId: number,
|
appId: number,
|
||||||
serviceName: string,
|
serviceName: string,
|
||||||
): { [envVarName: string]: string } {
|
): { [envVarName: string]: string } {
|
||||||
let defaultEnv: { [envVarName: string]: string } = {};
|
const defaultEnv: { [envVarName: string]: string } = {};
|
||||||
for (let namespace of ['BALENA', 'RESIN']) {
|
for (const namespace of ['BALENA', 'RESIN']) {
|
||||||
_.assign(
|
_.assign(
|
||||||
defaultEnv,
|
defaultEnv,
|
||||||
_.mapKeys(
|
_.mapKeys(
|
||||||
|
@ -348,7 +348,7 @@ export function addFeaturesFromLabels(
|
|||||||
}`;
|
}`;
|
||||||
}
|
}
|
||||||
// We keep balena.sock for backwards compatibility
|
// We keep balena.sock for backwards compatibility
|
||||||
if (constants.dockerSocket != '/var/run/balena.sock') {
|
if (constants.dockerSocket !== '/var/run/balena.sock') {
|
||||||
service.config.volumes.push(
|
service.config.volumes.push(
|
||||||
`${constants.dockerSocket}:/var/run/balena.sock`,
|
`${constants.dockerSocket}:/var/run/balena.sock`,
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user