Merge "sign-certificate-modal.controller.js: replace success() with then()"

This commit is contained in:
Zuul 2023-08-30 07:48:08 +00:00 committed by Gerrit Code Review
commit 4d69e88cc2

View File

@ -39,7 +39,7 @@
ctrl.model = model;
ctrl.form = null;
ctrl.title = gettext("CSR");
magnum.getCluster(model.newCertificateSpec.cluster_uuid).success(onGetCluster);
magnum.getCluster(model.newCertificateSpec.cluster_uuid).then(onGetCluster);
function onGetCluster(response) {
ctrl.model.cluster_name = response.name;