cubeapi: fix paused state parsing in sandbox list#270
Conversation
Signed-off-by: YangYuS8 <YangYuS8@163.com>
|
/cubebot review |
|
Claude finished @fslongjin's task in 1m 12s —— View job Review:
|
Signed-off-by: YangYuS8 <YangYuS8@163.com>
|
/cubebot review |
|
Claude finished @fslongjin's task in 1m 12s —— View job Review:
|
Summary
pausedfor list entries whose CubeMaster status isCONTAINER_PAUSED(5).Fixes #218
Tests
cargo fmt --checkcargo +stable testcargo +stable clippy --all-targets --all-featuresGET /sandboxesreturnsstate: pausedGET /sandboxes/{id}still returnsstate: pausedGET /v2/sandboxes?state=pausedreturns the paused sandboxNote: repo rust-toolchain
1.85.1cannot run the current lockfile locally becausetime@0.3.47requires rustc 1.88+.