TACC / abaco

Actor Based Co(mputing)ntainers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Actor status message not reset after actor is corrected

joestubbs opened this issue · comments

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'