Skip to content

Commit 1c7534f

Browse files
Merge pull request #2334 from spadgett/max-pods-err-msg
Automatic merge from submit-queue. Bug 1505289 - Fix visible expression in HPA error message Fix a visible AngularJS expression when max pods is smaller than min pods in the edit autoscaler form. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1505289
2 parents c74e141 + be415ef commit 1c7534f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/views/directives/osc-autoscaling.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
<span class="help-block" ng-if="form.maxReplicas.$error.min">
9393
Max pods must be greater than or equal to
9494
<span ng-if="autoscaling.minReplicas">min pods, which is</span>
95-
{{autoscaling.minReplicas || 1}.
95+
{{autoscaling.minReplicas || 1}}.
9696
</span>
9797
<span class="help-block" ng-if="form.maxReplicas.$error.required">
9898
Max pods is a required field.

dist/scripts/templates.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8000,7 +8000,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
80008000
"<span class=\"help-block\" ng-if=\"form.maxReplicas.$error.min\">\n" +
80018001
"Max pods must be greater than or equal to\n" +
80028002
"<span ng-if=\"autoscaling.minReplicas\">min pods, which is</span>\n" +
8003-
"{{autoscaling.minReplicas || 1}.\n" +
8003+
"{{autoscaling.minReplicas || 1}}.\n" +
80048004
"</span>\n" +
80058005
"<span class=\"help-block\" ng-if=\"form.maxReplicas.$error.required\">\n" +
80068006
"Max pods is a required field.\n" +

0 commit comments

Comments
 (0)