Skip to content

Commit

Permalink
fix merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepsukhani committed Jul 28, 2020
1 parent 03dce89 commit 7e14254
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/loki/modules.go
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,8 @@ func activePeriodConfig(cfg chunk.SchemaConfig) int {
// usingBoltdbShipper check whether current or the next index type is boltdb-shipper, returns true if yes.
func usingBoltdbShipper(cfg chunk.SchemaConfig) bool {
activePCIndex := activePeriodConfig(cfg)
if cfg.Configs[activePCIndex].IndexType == local.BoltDBShipperType ||
(len(cfg.Configs)-1 > activePCIndex && cfg.Configs[activePCIndex+1].IndexType == local.BoltDBShipperType) {
if cfg.Configs[activePCIndex].IndexType == shipper.BoltDBShipperType ||
(len(cfg.Configs)-1 > activePCIndex && cfg.Configs[activePCIndex+1].IndexType == shipper.BoltDBShipperType) {
return true
}

Expand Down

0 comments on commit 7e14254

Please sign in to comment.