diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-09-27 13:09:30 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-09-27 13:09:30 -0400 |
commit | 8fe65bd0f70c1cd2fc83469f401c987d69eb4370 (patch) | |
tree | 6e37cd1050f7b0b8d59b4198f6843c3faa54dbb9 /Types | |
parent | d154002e063c1c3af5aba13cf05a11df8b8f9897 (diff) | |
download | keysafe-8fe65bd0f70c1cd2fc83469f401c987d69eb4370.tar.gz |
Added --check-servers mode, which is useful both at the command line to see what servers keysafe knows about, and as a cron job.
This commit was sponsored by Jake Vosloo on Patreon.
Diffstat (limited to 'Types')
-rw-r--r-- | Types/Server.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Types/Server.hs b/Types/Server.hs index 785dd24..5caf9db 100644 --- a/Types/Server.hs +++ b/Types/Server.hs @@ -21,7 +21,7 @@ data ServerAddress = ServerAddress HostName Port -- | Name used in queuing uploads to the server. Should remain stable -- across keysafe versions. -newtype ServerName = ServerName String +newtype ServerName = ServerName { fromServerName :: String } deriving (Show, Eq, Ord, Generic) instance ToJSON ServerName |