From 528ed38dedebca1b7262132b507874bb09fce0bb Mon Sep 17 00:00:00 2001 From: Frank Kloeker Date: Sun, 4 Feb 2018 13:51:48 +0100 Subject: [PATCH] [trivial] fix typo in octavia_dashboard lbaasv2 Change-Id: Ie36816bc0ba00e003c4f6e72688352dce224b2a1 --- .../lbaasv2/members/actions/edit-member/modal.controller.js | 2 +- .../members/actions/edit-member/modal.controller.spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/octavia_dashboard/static/dashboard/project/lbaasv2/members/actions/edit-member/modal.controller.js b/octavia_dashboard/static/dashboard/project/lbaasv2/members/actions/edit-member/modal.controller.js index 4ca6c470..768b6699 100644 --- a/octavia_dashboard/static/dashboard/project/lbaasv2/members/actions/edit-member/modal.controller.js +++ b/octavia_dashboard/static/dashboard/project/lbaasv2/members/actions/edit-member/modal.controller.js @@ -68,7 +68,7 @@ ctrl.save = save; ctrl.saving = false; ctrl.weightError = gettext('The weight must be a number between 1 and 256.'); - ctrl.monitorAddressError = gettext('The monitor address must be a vaid IP address.'); + ctrl.monitorAddressError = gettext('The monitor address must be a valid IP address.'); ctrl.monitorPortError = gettext('The monitor port must be a number between 1 and 65535.'); ctrl.helpUrl = basePath + 'workflow/members/members.help.html'; diff --git a/octavia_dashboard/static/dashboard/project/lbaasv2/members/actions/edit-member/modal.controller.spec.js b/octavia_dashboard/static/dashboard/project/lbaasv2/members/actions/edit-member/modal.controller.spec.js index e21b8ed0..0165ac3c 100644 --- a/octavia_dashboard/static/dashboard/project/lbaasv2/members/actions/edit-member/modal.controller.spec.js +++ b/octavia_dashboard/static/dashboard/project/lbaasv2/members/actions/edit-member/modal.controller.spec.js @@ -70,7 +70,7 @@ expect(ctrl.ipPattern).toBeDefined(); expect(ctrl.helpUrl).toBeDefined(); expect(ctrl.weightError).toBe('The weight must be a number between 1 and 256.'); - expect(ctrl.monitorAddressError).toBe('The monitor address must be a vaid IP address.'); + expect(ctrl.monitorAddressError).toBe('The monitor address must be a valid IP address.'); expect(ctrl.monitorPortError).toBe('The monitor port must be a number between 1 and 65535.'); });