Merge pull request #1496 from balena-io/support-optional-containers

Support optional containers when pushing to local target
This commit is contained in:
CameronDiver 2019-11-06 11:07:15 +00:00 committed by GitHub
commit 5f74023bb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,9 +131,7 @@ export class LivepushManager {
serviceName, serviceName,
}); });
if (container == null) { if (container == null) {
throw new Error( return;
`Could not find a container on device for service: ${serviceName}`,
);
} }
const livepush = await Livepush.init( const livepush = await Livepush.init(