remote: fix verison/version typo

This commit is contained in:
sorki 2023-12-09 07:27:18 +01:00
parent 696f9e8421
commit 5e909dbbd5
2 changed files with 2 additions and 2 deletions

View File

@ -169,6 +169,6 @@ runStoreSocket preStoreConfig code =
pure ClientHandshakeOutput
{ clientHandshakeOutputNixVersion = daemonNixVersion
, clientHandshakeOutputTrust = remoteTrustsUs
, clientHandshakeOutputLeastCommonVerison = leastCommonVersion
, clientHandshakeOutputLeastCommonVersion = leastCommonVersion
, clientHandshakeOutputServerVersion = daemonVersion
}

View File

@ -19,7 +19,7 @@ data ClientHandshakeInput = ClientHandshakeInput
data ClientHandshakeOutput = ClientHandshakeOutput
{ clientHandshakeOutputNixVersion :: Maybe Text -- ^ Textual version, since 1.33
, clientHandshakeOutputTrust :: Maybe TrustedFlag -- ^ Whether remote side trusts us
, clientHandshakeOutputLeastCommonVerison :: ProtoVersion -- ^ Minimum protocol version supported by both sides
, clientHandshakeOutputLeastCommonVersion :: ProtoVersion -- ^ Minimum protocol version supported by both sides
, clientHandshakeOutputServerVersion :: ProtoVersion -- ^ Protocol version supported by the server
} deriving (Eq, Generic, Ord, Show)