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 pure ClientHandshakeOutput
{ clientHandshakeOutputNixVersion = daemonNixVersion { clientHandshakeOutputNixVersion = daemonNixVersion
, clientHandshakeOutputTrust = remoteTrustsUs , clientHandshakeOutputTrust = remoteTrustsUs
, clientHandshakeOutputLeastCommonVerison = leastCommonVersion , clientHandshakeOutputLeastCommonVersion = leastCommonVersion
, clientHandshakeOutputServerVersion = daemonVersion , clientHandshakeOutputServerVersion = daemonVersion
} }

View File

@ -19,7 +19,7 @@ data ClientHandshakeInput = ClientHandshakeInput
data ClientHandshakeOutput = ClientHandshakeOutput data ClientHandshakeOutput = ClientHandshakeOutput
{ clientHandshakeOutputNixVersion :: Maybe Text -- ^ Textual version, since 1.33 { clientHandshakeOutputNixVersion :: Maybe Text -- ^ Textual version, since 1.33
, clientHandshakeOutputTrust :: Maybe TrustedFlag -- ^ Whether remote side trusts us , 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 , clientHandshakeOutputServerVersion :: ProtoVersion -- ^ Protocol version supported by the server
} deriving (Eq, Generic, Ord, Show) } deriving (Eq, Generic, Ord, Show)