Skip to content

Commit

Permalink
adjust error constants to fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
mschoch committed Sep 2, 2014
1 parent d36b2ce commit abf7fa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func main() {

// open the index
beerIndex, err := bleve.Open(*indexPath)
if err == bleve.ERROR_INDEX_PATH_DOES_NOT_EXIST {
if err == bleve.ErrorIndexPathDoesNotExist {
log.Printf("Creating new index...")
// create a mapping
indexMapping, err := buildIndexMapping()
Expand Down

0 comments on commit abf7fa9

Please sign in to comment.