Skip to content

Commit

Permalink
IP Address in Runner is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
L7R7 committed Aug 21, 2024
1 parent 5906a60 commit 6ebfa74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Core/Runners.hs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ data Runner = Runner
{ runnerId :: Id Runner,
runnerName :: Maybe (Name Runner),
runnerDescription :: Description,
runnerIpAddress :: IpAddress,
runnerIpAddress :: Maybe IpAddress,
runnerTagList :: [Tag]
}
deriving stock (Eq, Generic)
Expand Down
3 changes: 1 addition & 2 deletions src/Ports/Inbound/HTTP/Runners/Html.hs
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,7 @@ runnerToHtml Runner {..} =
<> toHtml runnerId
<> " - "
<> toHtml runnerDescription
<> " - @"
<> toHtml runnerIpAddress
<> foldMap (\ip -> " - @" <> toHtml ip) runnerIpAddress
<> " -"
<> foldMap (\t -> " #" <> toHtml t) runnerTagList

Expand Down

0 comments on commit 6ebfa74

Please sign in to comment.