Skip to content

Commit

Permalink
Fix failing storage health check (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
pankrator authored and dzahariev committed Nov 28, 2018
1 parent fc19aaf commit 2820247
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions storage/postgres/storage_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ func (s *storageState) Get() error {
return nil
}

m := make(map[string]interface{})
return s.db.Get(&m, "SELECT 1")
m := new(int64)
return s.db.Get(m, "SELECT 1")
}

0 comments on commit 2820247

Please sign in to comment.