Skip to content

Commit 9cc8e38

Browse files
committed
Fix cant load project info because path is wrong & update changelog
1 parent 1230de9 commit 9cc8e38

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All Notable changes to `php-lxd` will be documented in this file.
44

55
Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
66

7+
# [0.16.2]
8+
9+
## Fixed
10+
- Cant load project info because path is wrong
11+
712
# [0.16.1]
813

914
## Added

src/Endpoint/Projects.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function create(string $name, string $description = "", array $config = [
4141

4242
public function info(string $name)
4343
{
44-
return $this->get($this->getEndpoint() . "/" . $name);
44+
return $this->get($this->getEndpoint() . $name);
4545
}
4646

4747
public function replace(string $name, string $description = "", array $config = [])
@@ -56,7 +56,7 @@ public function replace(string $name, string $description = "", array $config =
5656
public function update(string $name, string $description = "", array $config = [])
5757
{
5858
$project = [];
59-
if(!empty($description)){
59+
if (!empty($description)) {
6060
$project["description"] = $description;
6161
}
6262
$project["config"] = empty($config) ? $this->defaultProjectConfig() : $config;

0 commit comments

Comments
 (0)