Ensure that the entrypoint variable is assigned a string. The
custom container class can have None and that can confuse future
refactoring.
The mypy command we're using does not notice this.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
privileged = True
elif daemon_type == CustomContainer.daemon_type:
cc = CustomContainer.init(ctx, ident.fsid, ident.daemon_id)
- entrypoint = cc.entrypoint
+ entrypoint = cc.entrypoint or ''
host_network = False
envs.extend(cc.get_container_envs())
container_args.extend(cc.get_container_args())