From 8cb8b5e3adcd1bb94fd9c147fe2b94ffcecd4e77 Mon Sep 17 00:00:00 2001 From: ralph isenmann Date: Fri, 18 Feb 2022 15:10:07 +0100 Subject: [Client] remove useless log message --- .../src/main/java/org/openslx/dozmod/util/ContainerUtils.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'dozentenmodul') diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/util/ContainerUtils.java b/dozentenmodul/src/main/java/org/openslx/dozmod/util/ContainerUtils.java index 1c71abdd..e40013f6 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/util/ContainerUtils.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/util/ContainerUtils.java @@ -90,10 +90,9 @@ public class ContainerUtils { public static ContainerDefinition getContainerDefinition(String satelliteToken, String imageName, String latestVersionId) { byte[] rawVirtConfig = null; - if (latestVersionId == null) { - LOGGER.warn(String.format("LatestVersionID is null, cannot retrieve virtualizer config for image '%s'",imageName)); + if (latestVersionId == null) return null; - } + try { ByteBuffer byteBuffer = ThriftManager.getSatClient().getImageVersionVirtConfig(satelliteToken, latestVersionId); -- cgit v1.2.3-55-g7522