From a1b88e24b8f8830d0affb1e589236acec781d06b Mon Sep 17 00:00:00 2001 From: 1computer1 Date: Tue, 9 Jul 2019 08:37:23 -0400 Subject: [PATCH] Fix port type --- config.dhall | 2 +- src/Myriad/Core.hs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.dhall b/config.dhall index 08f3d43..9e990eb 100644 --- a/config.dhall +++ b/config.dhall @@ -23,7 +23,7 @@ let Config : Type = , buildConcurrently : Bool -- Whether to build images concurrently , prepareContainers : Bool -- Whether to setup all containers on startup , cleanupInterval : Natural -- The interval in minutes to kill containers periodically - , port : Integer -- Port to run on + , port : Natural -- Port to run on } -- Write your config here! diff --git a/src/Myriad/Core.hs b/src/Myriad/Core.hs index 40bfc4f..cbb9da8 100644 --- a/src/Myriad/Core.hs +++ b/src/Myriad/Core.hs @@ -46,7 +46,7 @@ data MyriadConfig = MyriadConfig , buildConcurrently :: Bool , prepareContainers :: Bool , cleanupInterval :: Natural - , port :: Integer + , port :: Natural } deriving (Show, Generic) instance Interpret MyriadConfig