The example lxd image alias in the docs is incorrectly formatted and returns the following error:
{
"type": "error",
"id": "debian/11/cloud",
"error": {
"code": "InvalidParameter",
"message": "No registry found for \"undefined\" - valid registries are \"images, ubuntu\""
},
"alias": "debian/11/cloud"
}
This PR propagates the actual error when a registry is absent, resulting in the following error message:
{
"code": "InvalidParameter",
"message": "alias must be in the format \"registry:image\"",
"errors": [
{
"field": "alias",
"code": "InvalidParameter"
}
]
}
The example lxd image alias in the docs is incorrectly formatted and returns the following error:
This PR propagates the actual error when a registry is absent, resulting in the following error message:
Additional testing notes on TRITON-2345