Просмотр исходного кода

Make Replica 'notes' atuomatically inherited by Migrations-from-Replicas.

Nashwan Azhari 5 лет назад
Родитель
Сommit
5d13641171
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      coriolis/conductor/rpc/server.py

+ 1 - 0
coriolis/conductor/rpc/server.py

@@ -1300,6 +1300,7 @@ class ConductorServerEndpoint(object):
         migration.instances = instances
         migration.replica = replica
         migration.info = replica.info
+        migration.notes = replica.notes
         migration.user_scripts = user_scripts
         # NOTE: Migrations-from-Replica have no use for the source/target
         # pools of the parent Replica so these can be omitted: