Add missing fields for HTTPS health monitors
Some fields (http method, expected codes, url path) are missing in health monitor form when type is HTTPS. These are valid parameters for HTTP and HTTPS health monitors. Change-Id: I3668f3dc5d3eb6a288994386294cc018035540c8 Story: 2007512 Task: 39292
This commit is contained in:
parent
b96ac1a45c
commit
9a42586975
@ -574,7 +574,7 @@
|
||||
}
|
||||
|
||||
// Only include necessary monitor properties
|
||||
if (finalSpec.monitor.type !== 'HTTP') {
|
||||
if (finalSpec.monitor.type !== 'HTTP' && finalSpec.monitor.type !== 'HTTPS') {
|
||||
delete finalSpec.monitor.http_method;
|
||||
delete finalSpec.monitor.expected_codes;
|
||||
delete finalSpec.monitor.url_path;
|
||||
|
@ -97,7 +97,7 @@
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row" ng-if="model.spec.monitor.type === 'HTTP'">
|
||||
<div class="row" ng-if="model.spec.monitor.type === 'HTTP' || model.spec.monitor.type === 'HTTPS'">
|
||||
|
||||
<div class="col-xs-12 col-sm-8 col-md-6 col-lg-4">
|
||||
<div class="form-group">
|
||||
|
Loading…
x
Reference in New Issue
Block a user