@spotinst/spinnaker-deck
Version:
Spinnaker-Deck service, forked with support to Spotinst
21 lines (20 loc) • 766 B
HTML
<ng-form name="autoHealingPolicySubForm">
<div class="form-group">
<div class="col-md-3 sm-label-right">
<b>Enable Autohealing</b>
</div>
<div class="col-md-6 checkbox">
<label>
<input type="checkbox" ng-model="command.enableAutoHealing" ng-change="ctrl.onEnableAutoHealingChange()" />
</label>
</div>
</div>
<gce-auto-healing-policy-selector
ng-if="command.enableAutoHealing"
on-health-check-refresh="ctrl.onHealthCheckRefresh()"
set-auto-healing-policy="ctrl.setAutoHealingPolicy(autoHealingPolicy)"
health-checks="command.backingData.filtered.healthChecks"
enabled="command.enableAutoHealing"
auto-healing-policy="command.autoHealingPolicy"
></gce-auto-healing-policy-selector>
</ng-form>