Description
While trying to set the invalid pruneAge value, the error message is displaying the invalid range value (35791394.11666667).
root@sa1715-deb10:~# curl -w "\n" -X POST -u Administrator:password 172.23.108.67:8091/settings/audit -d "pruneAge=-1" {"errors":{"pruneAge":"The value must be in range from 0 to 35791394.11666667"}}
|
|
root@sa1715-deb10:~# curl -w "\n" -X POST -u Administrator:password 172.23.108.67:8091/settings/audit -d "pruneAge=35791394.11666667"
|
{"errors":{"pruneAge":"The value must be an integer"}}
|
|
root@sa1715-deb10:~# curl -w "\n" -X POST -u Administrator:password 172.23.108.67:8091/settings/audit -d "pruneAge=35791395"
|
{"errors":{"pruneAge":"The value must be in range from 0 to 35791394.11666667"}}
|
Attachments
For Gerrit Dashboard: MB-59488 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
200265,3 | MB-59488: ensure error range is integer pruneAge | master | ns_server | Status: MERGED | +2 | +1 |