agent: cleanup

This commit is contained in:
Aaron Greenspan
2021-01-14 17:26:09 -07:00
committed by Aiden McClelland
parent b908967ac4
commit a122c4a058
2 changed files with 1 additions and 3 deletions

View File

@@ -56,7 +56,7 @@ getServerR = handleS9ErrT $ do
ssh <- readFromPath settings sshKeysFilePath >>= parseSshKeys
wifi <- WpaSupplicant.runWlan0 $ liftA2 WifiList WpaSupplicant.getCurrentNetwork WpaSupplicant.listNetworks
specs <- getSpecs settings
welcomeAck <- fmap isJust . lift . runDB . Persist.get $ WelcomeAckKey agentVersion
welcomeAck <- fmap isJust . lift . runDB . Persist.get $ WelcomeAckKey agentVersion
let sid = T.drop 7 $ specsNetworkId specs

View File

@@ -46,5 +46,3 @@ instance PathPiece Version where
instance PathPiece VersionRange where
toPathPiece = show
fromPathPiece = hush . Atto.parseOnly parseRange