mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-24 07:46:41 +00:00
fix up "atleast" -> "at least"
Change-type: patch Signed-off-by: Matthew McGinn <matthew@balena.io>
This commit is contained in:
parent
95e0a7d83d
commit
15c57a86b4
@ -267,7 +267,7 @@ The --grep option, when specified, will trigger mocha to only run tests matching
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
Make sure you are running atleast:
|
||||
Make sure you are running at least:
|
||||
|
||||
```sh
|
||||
node -v # >= 12.16.2
|
||||
|
@ -110,7 +110,7 @@ export class APIBinder {
|
||||
if (!stateReportHealthy) {
|
||||
log.info(
|
||||
stripIndent`
|
||||
Healthcheck failure - Atleast ONE of the following conditions must be true:
|
||||
Healthcheck failure - At least ONE of the following conditions must be true:
|
||||
- No connectivityCheckEnabled ? ${!(connectivityCheckEnabled === true)}
|
||||
- device state is disconnected ? ${!(this.deviceState.connected === true)}
|
||||
- stateReportErrors less then 3 ? ${CurrentState.stateReportErrors < 3}`,
|
||||
|
@ -284,7 +284,7 @@ export class DeviceState extends (EventEmitter as new () => DeviceStateEventEmit
|
||||
if (!applyTargetHealthy) {
|
||||
log.info(
|
||||
stripIndent`
|
||||
Healthcheck failure - Atleast ONE of the following conditions must be true:
|
||||
Healthcheck failure - At least ONE of the following conditions must be true:
|
||||
- No applyInProgress ? ${!(this.applyInProgress === true)}
|
||||
- fetchesInProgress ? ${this.applications.fetchesInProgress > 0}
|
||||
- cycleTimeWithinInterval ? ${cycleTimeWithinInterval}`,
|
||||
|
@ -439,7 +439,7 @@ describe('deviceState', () => {
|
||||
expect(Log.info).to.be.calledOnce;
|
||||
expect((Log.info as SinonSpy).lastCall?.lastArg).to.equal(
|
||||
stripIndent`
|
||||
Healthcheck failure - Atleast ONE of the following conditions must be true:
|
||||
Healthcheck failure - At least ONE of the following conditions must be true:
|
||||
- No applyInProgress ? false
|
||||
- fetchesInProgress ? false
|
||||
- cycleTimeWithinInterval ? false`,
|
||||
|
@ -450,7 +450,7 @@ describe('ApiBinder', () => {
|
||||
expect(Log.info).to.be.calledOnce;
|
||||
expect((Log.info as SinonSpy).lastCall?.lastArg).to.equal(
|
||||
stripIndent`
|
||||
Healthcheck failure - Atleast ONE of the following conditions must be true:
|
||||
Healthcheck failure - At least ONE of the following conditions must be true:
|
||||
- No connectivityCheckEnabled ? false
|
||||
- device state is disconnected ? false
|
||||
- stateReportErrors less then 3 ? false`,
|
||||
|
@ -57,7 +57,7 @@ const STUBBED_VALUES = {
|
||||
* AND MULTIPLE TEST CASES WILL USE THEM THEN ADD THEM HERE
|
||||
* OTHERWISE YOU CAN ADD STUBS ON A PER TEST CASE BASIS
|
||||
*
|
||||
* EXAMPLE: We stub ApplicationManager so there is atleast 1 running app
|
||||
* EXAMPLE: We stub ApplicationManager so there is at least 1 running app
|
||||
*
|
||||
* You can see all the stubbed values convientiely in STUBBED_VALUES.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user