summaryrefslogtreecommitdiffstats
path: root/dozentenmodulserver/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'dozentenmodulserver/src/main/java')
-rw-r--r--dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/thrift/ServerHandler.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/thrift/ServerHandler.java b/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/thrift/ServerHandler.java
index d6f6ce74..94d25297 100644
--- a/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/thrift/ServerHandler.java
+++ b/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/thrift/ServerHandler.java
@@ -743,10 +743,9 @@ public class ServerHandler implements SatelliteServer.Iface {
}
@Override
- public ByteBuffer setImageVersionVirtConfig(String userToken, String imageVersionId,
+ public void setImageVersionVirtConfig(String userToken, String imageVersionId,
ByteBuffer machineDescription) throws TAuthorizationException,
TNotFoundException, TInvocationException, TException {
- SessionManager.getOrFail(userToken);
UserInfo user = SessionManager.getOrFail(userToken);
User.canEditImageVersionOrFail(user, imageVersionId);
byte[] mdBytes = ThriftUtil.unwrapByteBuffer(machineDescription);
@@ -756,6 +755,5 @@ public class ServerHandler implements SatelliteServer.Iface {
throw new TInvocationException(InvocationError.INTERNAL_SERVER_ERROR,
"Database failure when setting the virtualizer config for '" + imageVersionId + "'.");
}
- return ByteBuffer.wrap(mdBytes);
}
}