Selaa lähdekoodia

storage/backend: fixes Windows compile error

The type is "Options," not "Option" -- at least, in the vendored version of boltdb in the repository.
Sean Russell 10 vuotta sitten
vanhempi
commit
928c0d3601
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      storage/backend/boltoption_windows.go

+ 1 - 1
storage/backend/boltoption_windows.go

@@ -18,4 +18,4 @@ import "github.com/coreos/etcd/Godeps/_workspace/src/github.com/boltdb/bolt"
 
 // TODO: support syscall.MAP_POPULATE in windows.
 // Need upstream patch from boltdb/bolt.
-var boltOpenOptions *bolt.Option = nil
+var boltOpenOptions *bolt.Options = nil