You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can confirm something odd on this in main code (f461922):
🦑 ./mgc vm machine-types list -o table
WARN magalu.cloud/cli/cmd result validation failed
{"error": "Error at \"/machine_types/0\": doesn't match any schema from \"anyOf\"
Schema:
{
\"anyOf\": [
{
\"$ref\": \"#/components/schemas/InstanceTypesV1PortalResponse\"
},
{
\"$ref\": \"#/components/schemas/InstanceTypesV1Response\"
}
]
}
Value:
{
\"availability_zones\": [
\"br-se1-a\"
],
\"disk\": 20,
\"gpu\": 0,
\"id\": \"58c59988-a9f9-4116-acf4-1c4b4be49407\",
\"name\": \"BV1-4-20\",
\"ram\": 4096,
\"status\": \"active\",
\"vcpus\": 1
}
...
# Repeats for all entries of "Value"
It wields results after that warning, but only if you specify output or have a defaultOutput config set. If you have not set this setting and speficy no -o option on mgc vm machine-types list, it will return an empty table.
MGC does not list machine types in version 29; it works correctly in version 28.
The text was updated successfully, but these errors were encountered: