diff options
author | ralph isenmann | 2022-02-18 15:10:07 +0100 |
---|---|---|
committer | ralph isenmann | 2022-02-18 15:10:07 +0100 |
commit | 8cb8b5e3adcd1bb94fd9c147fe2b94ffcecd4e77 (patch) | |
tree | 52a6900b150ba361848285c585a130da50776781 /dozentenmodul | |
parent | [CLIENT] fix isDataContainer check, dont let vm image pass. (diff) | |
download | tutor-module-8cb8b5e3adcd1bb94fd9c147fe2b94ffcecd4e77.tar.gz tutor-module-8cb8b5e3adcd1bb94fd9c147fe2b94ffcecd4e77.tar.xz tutor-module-8cb8b5e3adcd1bb94fd9c147fe2b94ffcecd4e77.zip |
[Client] remove useless log message
Diffstat (limited to 'dozentenmodul')
-rw-r--r-- | dozentenmodul/src/main/java/org/openslx/dozmod/util/ContainerUtils.java | 5 |
1 files changed, 2 insertions, 3 deletions
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); |