refactor: add URL information to Proxmox firewall response for improved context in configuration and options requests
This commit is contained in:
@@ -314,6 +314,7 @@ class Firewall extends Component
|
||||
'status' => $response->status(),
|
||||
'body' => $response->body(),
|
||||
'headers' => $response->headers(),
|
||||
'url' => '/nodes/' . $this->server->node->name . '/qemu/' . $this->server->vm_id . '/config',
|
||||
]);
|
||||
|
||||
if ($response->successful()) {
|
||||
@@ -383,6 +384,7 @@ class Firewall extends Component
|
||||
'status' => $response->status(),
|
||||
'body' => $response->body(),
|
||||
'headers' => $response->headers(),
|
||||
'url' => '/nodes/' . $this->server->node->name . '/qemu/' . $this->server->vm_id . '/firewall/options',
|
||||
]);
|
||||
|
||||
if ($response->successful()) {
|
||||
|
||||
Reference in New Issue
Block a user