fix gitea controller
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user