Explorar el Código

Made the result of instance detail fetching be validated against the main VM export info schema.

Nashwan Azhari hace 8 años
padre
commit
9910c70cfc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      coriolis/worker/rpc/server.py

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

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