Actor status message not reset after actor is corrected
joestubbs opened this issue · comments
Joe Stubbs commented
Register an actor:
$ curl -H "Authorization: Bearer $tok" -H "Content-Type: application/json" --data '{"image":"abacosamples/test"}' 'https://api.sd2e.org/actors/v2'
update it with an "invalid" image:
$ curl -X PUT -H "Authorization: Bearer $tok" -H "Content-Type: application/json" --data '{"image":"abacosamples/fooy"}' 'https://api.sd2e.org/actors/v2/$aid'
actor now has status ERROR with a status message.
$ curl -H "Authorization: Bearer $tok" 'https://api.sd2e.org/actors/v2/$aid'
Now, correct the actor:
$ curl -X PUT -H "Authorization: Bearer $tok" -H "Content-Type: application/json" --data '{"image":"abacosamples/test"}' 'https://api.sd2e.org/actors/v2/$aid'
actor still has status ERROR with a status message:
$ curl -H "Authorization: Bearer $tok" 'https://api.sd2e.org/actors/v2/$aid'