Currently the swift::storage::node defined type shows the warning
message below, followed by huge call trace log, when zone parameter is
set by a string value.
~~~
Warning: validate_legacy(validate_re) expects an Integer value, got
String at ...
~~~
This change fixes usage of the validate_legacy function to avoid
that warning.
Change-Id: Ic9ca9fb952e4a678deeb1b8e04c09ba620b8ae20
(cherry picked from commit 4be2336843)
(cherry picked from commit afa7e2b426)