Skip to content

Commit 2df1f98

Browse files
committed
Align array keys of interface definitions
1 parent 8003494 commit 2df1f98

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/Compute/v2/Api.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ public function getInterfaceAttachment(): array
477477
'method' => 'GET',
478478
'path' => 'servers/{id}/os-interface/{portId}',
479479
'params' => [
480-
'id' => $this->params->urlId('server'),
480+
'id' => $this->params->urlId('server'),
481481
'portId' => $this->params->portId()
482482
]
483483
];
@@ -490,11 +490,11 @@ public function postInterfaceAttachment(): array
490490
'path' => 'servers/{id}/os-interface',
491491
'jsonKey' => 'interfaceAttachment',
492492
'params' => [
493-
'id' => $this->params->urlId('server'),
494-
'portId' => $this->notRequired($this->params->portId()),
495-
'networkId' => $this->notRequired($this->params->networkId()),
493+
'id' => $this->params->urlId('server'),
494+
'portId' => $this->notRequired($this->params->portId()),
495+
'networkId' => $this->notRequired($this->params->networkId()),
496496
'fixedIpAddresses' => $this->notRequired($this->params->fixedIpAddresses()),
497-
'tag' => $this->notRequired($this->params->tag()),
497+
'tag' => $this->notRequired($this->params->tag()),
498498
]
499499
];
500500
}
@@ -505,7 +505,7 @@ public function deleteInterfaceAttachment(): array
505505
'method' => 'DELETE',
506506
'path' => 'servers/{id}/os-interface/{portId}',
507507
'params' => [
508-
'id' => $this->params->urlId('image'),
508+
'id' => $this->params->urlId('image'),
509509
'portId' => $this->params->portId()
510510
]
511511
];

0 commit comments

Comments
 (0)