vicfg: Deleting configurations now resets to the default, where before it has no effect.

Added a Default instance for TrustLevel, and was able to use that to clear
up several other parts of the code too.

This commit was sponsored by Stephan Schulz
This commit is contained in:
Joey Hess 2014-10-14 14:10:22 -04:00
parent 5fcb75d371
commit db9121ecee
7 changed files with 41 additions and 5 deletions

View file

@ -9,6 +9,7 @@ module Types.StandardGroups where
import Types.Remote (RemoteConfig)
import Types.Group
import Data.Default
import qualified Data.Map as M
import Data.Maybe