Skip to content

Commit

Permalink
Merge pull request #124 from CyberfusionIO/bugfix/daemon
Browse files Browse the repository at this point in the history
The Daemon Awakens
  • Loading branch information
WilliamDEdwards authored Dec 11, 2024
2 parents 47c08c8 + df4239a commit 26af4cb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
this package and not the Core API. See the changelog of the [Core API](https://core-api.cyberfusion.io/redoc#section/Changelog)
for detailed information.

## [1.116.1]

### Fixed

- Fix the initialization of the Daemon model.

## [1.116.0]

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Client implements ClientContract

private const TIMEOUT = 180;

private const VERSION = '1.116.0';
private const VERSION = '1.116.1';

private const USER_AGENT = 'cyberfusion-cluster-api-client/' . self::VERSION;

Expand Down
8 changes: 4 additions & 4 deletions src/Models/Daemon.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ class Daemon extends ClusterModel
private string $name;
private string $command;
private int $unixUserId;
private ?int $memoryLimit;
private ?int $cpuLimit;
private ?int $memoryLimit = null;
private ?int $cpuLimit = null;
private array $nodesIds;
private ?int $id;
private int $clusterId;
private ?int $id = null;
private ?int $clusterId = null;
private ?string $createdAt = null;
private ?string $updatedAt = null;

Expand Down

0 comments on commit 26af4cb

Please sign in to comment.