mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-31 08:25:36 +00:00
Move messages.ts to device-api
Messages are all related to Supervisor API Signed-off-by: Christina Ying Wang <christina@balena.io>
This commit is contained in:
parent
71b2aea0fe
commit
f77fcb9ac9
@ -8,7 +8,7 @@ import * as serviceManager from '../compose/service-manager';
|
||||
import * as volumeManager from '../compose/volume-manager';
|
||||
import { InternalInconsistencyError } from '../lib/errors';
|
||||
import { lock } from '../lib/update-lock';
|
||||
import { appNotFoundMessage } from '../lib/messages';
|
||||
import { appNotFoundMessage } from './messages';
|
||||
|
||||
export async function doRestart(appId, force) {
|
||||
await deviceState.initialized();
|
||||
|
@ -26,7 +26,7 @@ import {
|
||||
appNotFoundMessage,
|
||||
serviceNotFoundMessage,
|
||||
v2ServiceEndpointInputErrorMessage,
|
||||
} from '../lib/messages';
|
||||
} from './messages';
|
||||
import log from '../lib/supervisor-console';
|
||||
import supervisorVersion = require('../lib/supervisor-version');
|
||||
import { checkInt, checkTruthy } from '../lib/validation';
|
||||
|
Loading…
x
Reference in New Issue
Block a user