Skip to content

Commit

Permalink
fix: #256 limit domain length to meet docker dns expectations 2
Browse files Browse the repository at this point in the history
  • Loading branch information
bohdan-shulha committed Nov 23, 2024
1 parent 15c7ca1 commit 160e87c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Models/DeploymentData/Process.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
class Process extends Data
{
public function __construct(
#[Max(16)]
#[Max(22)]
public string $name,
#[Exists(Node::class, 'id')]
#[RequiredWith('volumes')]
Expand Down
2 changes: 1 addition & 1 deletion app/Models/DeploymentData/Worker.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
class Worker extends Data
{
public function __construct(
#[Max(16)]
#[Max(10)]
public string $name,
public AppSource $source,
public ?string $dockerName,
Expand Down

0 comments on commit 160e87c

Please sign in to comment.