Restart policy drop down contains wrong value for on-failure
shadjiiski opened this issue · 3 comments
@Sevyls commented on Mon Apr 15 2019
Summary
When trying to configure the Restart Policy of a container, the dropdown select box contains wrong values for on-failure, so it can't be selected and a validation message appears.
Only the values "no" and "always" are selectable, "on-failure" is not selectable as the selectbox contains the camelcase "onFailure" and this is not expected by the service call.
Environment information
vSphere and vCenter Server version
vSphere Client 6.5.0.10000
VIC version
v1.5.0.1462 Build No 397
Steps to reproduce
Create a template for a container, i.e. through applications
Go to tab "policy"
select restart policy dropdown and choose "on failure"
save container template
Actual behavior
a validation message appears "Restart policy must be one of no, on-failure, always."
"on failure" is not savable
Expected behavior
No validation message should appear, On failure should be savable/selectable
Details
The selectbox does contain the value as camelcase "onFailure", expected is "on-failure"
Issue is fixed in master, docker images will be updated soon.
thank you
You are most welcome. Dev-tagged docker images are now updated as well (vmware/admiral:dev, vmware/admiral:vic_dev) in case you want to try it out now in a dev environment. Otherwise, it will be included in the next release.