Skip to content

Commit 881f953

Browse files
authored
Merge pull request #30 from CyberfusionNL/bugfix/empty-public-key
Fix empty public key
2 parents d3e191c + 6c4fe99 commit 881f953

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66
this package and not the cluster API. See the changelog of the [cluster API](https://cluster-api.cyberfusion.nl/redoc#section/Changelog)
77
for detailed information.
88

9+
## [1.85.1]
10+
11+
### Fixed
12+
13+
- Allow the public key to be null in `getPublicKey` method.
14+
915
## [1.85.0]
1016

1117
### Removed

src/Client.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Client implements ClientContract
2020
{
2121
private const CONNECT_TIMEOUT = 60;
2222
private const TIMEOUT = 180;
23-
private const VERSION = '1.85.0';
23+
private const VERSION = '1.85.1';
2424
private const USER_AGENT = 'cyberfusion-cluster-api-client/' . self::VERSION;
2525

2626
private Configuration $configuration;

src/Models/SshKey.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function setName(string $name): self
3535
return $this;
3636
}
3737

38-
public function getPublicKey(): string
38+
public function getPublicKey(): ?string
3939
{
4040
return $this->publicKey;
4141
}

0 commit comments

Comments
 (0)