diff options
| -rw-r--r-- | src/Propellor/Types/Info.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Types/Info.hs b/src/Propellor/Types/Info.hs index 59cc13e0..2c95b6fc 100644 --- a/src/Propellor/Types/Info.hs +++ b/src/Propellor/Types/Info.hs @@ -29,7 +29,7 @@ instance Show InfoEntry where -- Extracts the value from an InfoEntry but only when -- it's of the requested type. extractInfoEntry :: Typeable v => InfoEntry -> Maybe v -extractInfoEntry (InfoEntry v) = fromDynamic (toDyn v) +extractInfoEntry (InfoEntry v) = cast v -- | Values stored in Info must be members of this class. -- |
