Skip to content

Commit

Permalink
Replace ByteString append with mappend in Daemon code
Browse files Browse the repository at this point in the history
  • Loading branch information
olorin committed Feb 19, 2015
1 parent 1609110 commit 70989f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Vaultaire/Daemon.hs
Original file line number Diff line number Diff line change
Expand Up @@ -394,11 +394,11 @@ dayMapsFromCeph origin' = do

-- | Ceph object ID of the origin's Simple DayMap.
simpleDayOID :: Origin -> ByteString
simpleDayOID (Origin origin') = "02_" `BS.append` origin' `BS.append` "_simple_days"
simpleDayOID (Origin origin') = "02_" <> origin' <> "_simple_days"

-- | Ceph object ID of the origin's Extended DayMap.
extendedDayOID :: Origin -> ByteString
extendedDayOID (Origin origin') = "02_" `BS.append` origin' `BS.append` "_extended_days"
extendedDayOID (Origin origin') = "02_" <> origin' <> "_extended_days"

-- | Ceph object ID of the bucket at the provided epoch.
bucketOID :: Origin -> Epoch -> Bucket -> String -> ByteString
Expand Down

0 comments on commit 70989f6

Please sign in to comment.