From 928c0d36013fca38644998f11c9858bd24f5aaf1 Mon Sep 17 00:00:00 2001 From: Sean Russell Date: Sun, 6 Dec 2015 17:15:19 -0500 Subject: [PATCH] storage/backend: fixes Windows compile error The type is "Options," not "Option" -- at least, in the vendored version of boltdb in the repository. --- storage/backend/boltoption_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/backend/boltoption_windows.go b/storage/backend/boltoption_windows.go index 1b9ce9471..059d52fba 100644 --- a/storage/backend/boltoption_windows.go +++ b/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