when group_priority is setting to int 0 value from api will get error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
TaoWang |
Bug Description
Brief Description
-----------------
When update group-priority from api with int zero, will
get "Bad Request" response.
Severity
--------
Minor
Steps to Reproduce
------------------
Exec via curl:
curl --location --request PATCH 'http://
--header 'X-Auth-Token: gAAAAABlnfvXRrT
--header 'Content-Type: application/json' \
--data '{
"group-
}'
Expected Behavior
------------------
Request successfully
Actual Behavior
----------------
<html>
<head>
<title>400 Bad Request</title>
</head>
<body>
<h1>400 Bad Request</h1>
The server could not comply with the request since it is either malformed or otherwise incorrect.<br /><br />
nothing to update
</body>
</html>
Reproducibility
---------------
Reproducible
System Configuration
-------
DC environment
Branch/Pull Time/Commit
-------
Master 2024-01-10
Changed in starlingx: | |
importance: | Undecided → Low |
assignee: | nobody → TaoWang (twang4) |
tags: | added: stx.9.0 stx.distcloud |
Fix proposed to branch: master /review. opendev. org/c/starlingx /distcloud/ +/905179
Review: https:/