mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-04 20:16:07 +00:00
InfraKit may pass an optional LogicalID into an instance. It expects this LogicalID to be returned via DescribeInstances(). If they don't match, it assumes something is wrong. Here, we use the LogicalID passed in (or construct one based on the internal ID) and stash it in the state directory. It is retrieved in DescribeInstances(). While at it, also improve logging. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>