Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

fix lint #211

Merged
merged 1 commit into from
May 24, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion services/storehost/storagemonitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ func (s *storageMonitor) checkStorage() {
} else if availablePcnt < warningThreshold {
s.logger.WithFields(bark.Fields{`filePath`: path, `availableMBs`: availableMBs, `totalMBs`: totalMBs, `availablePcnt`: availablePcnt}).Warn(`Available disk space lower than warning threshold`)
} else {
s.logger.WithFields(bark.Fields{`filePath`: path, `availableMBs`: availableMBs, `totalMBs`: totalMBs, `availablePcnt`: availablePcnt}).Info(`Monitoring disk space`) }
s.logger.WithFields(bark.Fields{`filePath`: path, `availableMBs`: availableMBs, `totalMBs`: totalMBs, `availablePcnt`: availablePcnt}).Info(`Monitoring disk space`)
}
}

func (s *storageMonitor) doHouseKeeping() {
Expand Down