623
}
624
626
>
ctx,
627
>
enumsspb.NAMESPACE_OPERATION_UPDATE,
628
>
info,
629
>
config,
630
>
replicationConfig,
631
>
clusterListChanged,
632
>
configVersion,
633
>
failoverVersion,
634
>
isGlobalNamespace,
635
>
failoverHistory,
636
>
false, // forceReplicate
637
>
)
638
>
if err != nil {
639
return nil, err
640
}
641
643
>
IsGlobalNamespace: isGlobalNamespace,
644
>
FailoverVersion: failoverVersion,
645
>
}
646
>
response.NamespaceInfo, response.Config, response.ReplicationConfig, _ = d.createResponse(info, config, replicationConfig)
647
>
648
>
d.logger.Info("Update namespace succeeded",
649
>
tag.WorkflowNamespace(info.Name),
650
>
tag.WorkflowNamespaceID(info.Id),
651
>
)
652
>
return response, nil
653
}
654