ashleyhood / php-lxd

A PHP library for interacting with the LXD REST API
MIT License
28 stars 15 forks source link

execute with wait results in exception #16

Closed renky closed 4 years ago

renky commented 6 years ago

$response['metadata']['output'] and $response['metadata']['return'] only contains values if "record-output" is set. But wait could also be used without record-output and then this results in an "exception 'ErrorException' with message 'Undefined index: output' in ..."

fixed now - it record-output is not set, return same as if wait isn't set