2
0
Эх сурвалжийг харах

Merged in aznashwan/coriolis/get-instance-validation (pull request #76)

Made the result of instance detail fetching be validated against the main VM export info schema.
Nashwan Azhari 8 жил өмнө
parent
commit
721c384018

+ 1 - 1
coriolis/worker/rpc/server.py

@@ -196,7 +196,7 @@ class WorkerServerEndpoint(object):
             ctxt, secret_connection_info, instance_name)
 
         schemas.validate_value(
-            instance_info, schemas.CORIOLIS_VM_INSTANCE_INFO_SCHEMA)
+            instance_info, schemas.CORIOLIS_VM_EXPORT_INFO_SCHEMA)
 
         return instance_info