Skip to content

Commit

Permalink
Remove unused constructor MsgRemovingDatabaseEntity.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanknowles committed Aug 20, 2020
1 parent 643486f commit bf90817
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/core/src/Cardano/DB/Sqlite.hs
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,6 @@ data DBLog
| MsgWaitingForDatabase Text (Maybe Int)
| MsgRemovingInUse Text Int
| MsgRemoving Text
| MsgRemovingDatabaseEntity Text
| MsgRemovingDatabaseFile Text DeleteSqliteDatabaseLog
| MsgManualMigrationNeeded DBField Text
| MsgManualMigrationNotNeeded DBField
Expand Down Expand Up @@ -449,7 +448,6 @@ instance HasSeverityAnnotation DBLog where
MsgWaitingForDatabase _ _ -> Info
MsgRemovingInUse _ _ -> Notice
MsgRemoving _ -> Info
MsgRemovingDatabaseEntity _ -> Notice
MsgRemovingDatabaseFile _ msg -> getSeverityAnnotation msg
MsgManualMigrationNeeded{} -> Notice
MsgManualMigrationNotNeeded{} -> Debug
Expand Down Expand Up @@ -486,8 +484,6 @@ instance ToText DBLog where
"Attempting to remove the database anyway."
MsgRemoving wid ->
"Removing wallet's database. Wallet id was " <> wid
MsgRemovingDatabaseEntity msg ->
"Removing the following entity from the database: " <> msg
MsgRemovingDatabaseFile wid msg ->
"Removing " <> wid <> ": " <> toText msg
MsgManualMigrationNeeded field value -> mconcat
Expand Down

0 comments on commit bf90817

Please sign in to comment.