Jelajahi Sumber

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

Nashwan Azhari 8 tahun lalu
induk
melakukan
9910c70cfc
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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