fix gitea controller

This commit is contained in:
2026-11-03 19:54:53 +00:00
parent 4d9af52c70
commit 07cd51ac1f
2 changed files with 25 additions and 2 deletions
+4 -1
View File
@@ -636,7 +636,10 @@ gcr_vm_verify_rebuilt() {
| select((.id | tostring) == $vm)
| select(.status == "running")
| select((.server_type.name // "") == $type)
| select((.server_type.architecture // "") == $arch)
| select((.server_type.architecture
| if . == "x86" then "amd64"
elif . == "arm" then "arm64"
else . end) == $arch)
| select((.location.name // .datacenter.location.name // "") == $location)
| select((.image.id | tostring) == $image)
| .public_net.ipv4.ip