0 또는 음수인 step 값을 거부하는 할당 엔드포인트
step이 0이면 윈도우 루프가 진행되지 않고, 음수이면 윈도우 끝에서 멀어지는 방향으로 이동해 어느 쪽이든 루프가 무한히 실행될 수 있었습니다. 이제 두 값 중 하나를 지정한 요청은 HTTP 400을 받습니다. 이전에는 accumulate=hour|day|week|month|quarter가 step을 대체했더라도 마찬가지입니다. 양수 step, 생략한 step, 그리고 위에 나열한 accumulate 키워드는 이전과 동일하게 동작합니다.
원문 보기
* fix(costmodel): reject a zero or negative step in the allocation API by @BahaaMattar in https://github.com/opencost/opencost/pull/4225github.com/opencost/opencost/releases/tag/v1.121.5