Skip to content

Get task does not accept task id 0 or 1

When calling ts-get-task.sh with task id 0 or 1 it returns error.

root@moon [10:43:30] [/opt/runhyve/vm-webhooks] [master]
-> # /opt/runhyve/vm-webhooks/ts-get-task.sh 0  
Usage: /opt/runhyve/vm-webhooks/ts-get-task.sh <taskid>
Example: /opt/runhyve/vm-webhooks/ts-get-task.sh 1337

root@moon [10:43:32] [/opt/runhyve/vm-webhooks] [master]
-> # /opt/runhyve/vm-webhooks/ts-get-task.sh 1
Usage: /opt/runhyve/vm-webhooks/ts-get-task.sh <taskid>
Example: /opt/runhyve/vm-webhooks/ts-get-task.sh 1337

root@moon [10:43:34] [/opt/runhyve/vm-webhooks] [master]
-> # /opt/runhyve/vm-webhooks/ts-get-task.sh 2
{"status":"error","message":"Couldn't get task with id 2."}
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information