mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-05-04 18:12:56 +00:00
Merge pull request #1625 from balena-io/seperate-separate
typos: seperate -> separate
This commit is contained in:
commit
f391c33cc4
@ -330,7 +330,7 @@ The state is a JSON object that contains some or all of the following:
|
|||||||
* `api_port`: Port on which the supervisor is listening.
|
* `api_port`: Port on which the supervisor is listening.
|
||||||
* `commit`: Hash of the current commit of the application that is running.
|
* `commit`: Hash of the current commit of the application that is running.
|
||||||
* `ip_address`: Space-separated list of IP addresses of the device.
|
* `ip_address`: Space-separated list of IP addresses of the device.
|
||||||
* `mac_address`: Space-seperated list of MAC addresses of the device.
|
* `mac_address`: Space-separated list of MAC addresses of the device.
|
||||||
* `status`: Status of the device regarding the app, as a string, i.e. "Stopping", "Starting", "Downloading", "Installing", "Idle".
|
* `status`: Status of the device regarding the app, as a string, i.e. "Stopping", "Starting", "Downloading", "Installing", "Idle".
|
||||||
* `download_progress`: Amount of the application image that has been downloaded, expressed as a percentage. If the update has already been downloaded, this will be `null`.
|
* `download_progress`: Amount of the application image that has been downloaded, expressed as a percentage. If the update has already been downloaded, this will be `null`.
|
||||||
* `os_version`: Version of the host OS running on the device.
|
* `os_version`: Version of the host OS running on the device.
|
||||||
|
@ -116,7 +116,7 @@ export class Service {
|
|||||||
throw new InternalInconsistencyError('Malformed app id for service');
|
throw new InternalInconsistencyError('Malformed app id for service');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Seperate the application information from the docker
|
// Separate the application information from the docker
|
||||||
// container configuration
|
// container configuration
|
||||||
service.imageId = parseInt(appConfig.imageId, 10);
|
service.imageId = parseInt(appConfig.imageId, 10);
|
||||||
delete appConfig.imageId;
|
delete appConfig.imageId;
|
||||||
|
@ -164,7 +164,7 @@ export function getStopSignal(
|
|||||||
return _.get(imageInfo, 'Config.StopSignal', 'SIGTERM');
|
return _.get(imageInfo, 'Config.StopSignal', 'SIGTERM');
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Move healthcheck stuff into seperate module
|
// TODO: Move healthcheck stuff into separate module
|
||||||
export function dockerHealthcheckToServiceHealthcheck(
|
export function dockerHealthcheckToServiceHealthcheck(
|
||||||
healthcheck?: Dockerode.DockerHealthcheck,
|
healthcheck?: Dockerode.DockerHealthcheck,
|
||||||
): ServiceHealthcheck {
|
): ServiceHealthcheck {
|
||||||
|
@ -14,7 +14,7 @@ import { ExtraUEnvError } from '../../lib/errors';
|
|||||||
/**
|
/**
|
||||||
* Entry describes the configurable items in an extra_uEnv file
|
* Entry describes the configurable items in an extra_uEnv file
|
||||||
*
|
*
|
||||||
* @collection - This describes if the value can be a list of items seperated by space character.
|
* @collection - This describes if the value can be a list of items separated by space character.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -166,7 +166,7 @@ export function safeAppClone(app) {
|
|||||||
// here as when passing it back as target state, the service class cannot
|
// here as when passing it back as target state, the service class cannot
|
||||||
// know that the alias being given is not in fact a user given one.
|
// know that the alias being given is not in fact a user given one.
|
||||||
// TODO: Make the process of moving from a current state to a target state
|
// TODO: Make the process of moving from a current state to a target state
|
||||||
// well-defined (and implemented in a seperate module)
|
// well-defined (and implemented in a separate module)
|
||||||
const svcCopy = _.cloneDeep(svc);
|
const svcCopy = _.cloneDeep(svc);
|
||||||
|
|
||||||
_.each(svcCopy.config.networks, (net) => {
|
_.each(svcCopy.config.networks, (net) => {
|
||||||
|
@ -20,7 +20,7 @@ const argv = yargs
|
|||||||
.command(
|
.command(
|
||||||
'$0 <device-address>',
|
'$0 <device-address>',
|
||||||
'Sync changes in code to a running debug mode supervisor on a local device',
|
'Sync changes in code to a running debug mode supervisor on a local device',
|
||||||
y =>
|
(y) =>
|
||||||
y.positional('device-address', {
|
y.positional('device-address', {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
describe: 'The address of a local device',
|
describe: 'The address of a local device',
|
||||||
@ -70,7 +70,7 @@ const argv = yargs
|
|||||||
arch: argv['device-arch'],
|
arch: argv['device-arch'],
|
||||||
nocache: argv['nocache'],
|
nocache: argv['nocache'],
|
||||||
});
|
});
|
||||||
// Another newline to seperate build and livepush output
|
// Another newline to separate build and livepush output
|
||||||
console.log(`Supervisor container: ${containerId}\n`);
|
console.log(`Supervisor container: ${containerId}\n`);
|
||||||
|
|
||||||
await setupLogs(docker, containerId);
|
await setupLogs(docker, containerId);
|
||||||
|
@ -440,7 +440,7 @@
|
|||||||
## Hardware decoding of additional codecs can be enabled by purchasing a
|
## Hardware decoding of additional codecs can be enabled by purchasing a
|
||||||
## license that is locked to the CPU serial number of your Raspberry Pi.
|
## license that is locked to the CPU serial number of your Raspberry Pi.
|
||||||
##
|
##
|
||||||
## Up to 8 licenses per CODEC can be specified as a comma seperated list.
|
## Up to 8 licenses per CODEC can be specified as a comma separated list.
|
||||||
##
|
##
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
@ -1191,4 +1191,4 @@ dtparam=i2c_arm=on
|
|||||||
dtparam=spi=on
|
dtparam=spi=on
|
||||||
disable_splash=1
|
disable_splash=1
|
||||||
avoid_warnings=1
|
avoid_warnings=1
|
||||||
dtparam=audio=on
|
dtparam=audio=on
|
||||||
|
Loading…
x
Reference in New Issue
Block a user