mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-23 23:42:29 +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,
|
||||
serviceName: string,
|
||||
): { [envVarName: string]: string } {
|
||||
let defaultEnv: { [envVarName: string]: string } = {};
|
||||
for (let namespace of ['BALENA', 'RESIN']) {
|
||||
const defaultEnv: { [envVarName: string]: string } = {};
|
||||
for (const namespace of ['BALENA', 'RESIN']) {
|
||||
_.assign(
|
||||
defaultEnv,
|
||||
_.mapKeys(
|
||||
|
@ -348,7 +348,7 @@ export function addFeaturesFromLabels(
|
||||
}`;
|
||||
}
|
||||
// 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(
|
||||
`${constants.dockerSocket}:/var/run/balena.sock`,
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user