open-vault/physical/foundationdb/foundationdbstub.go

16 lines
322 B
Go
Raw Normal View History

2018-07-16 14:18:09 +00:00
// +build !foundationdb
package foundationdb
import (
"fmt"
log "github.com/hashicorp/go-hclog"
"github.com/hashicorp/vault/sdk/physical"
2018-07-16 14:18:09 +00:00
)
func NewFDBBackend(conf map[string]string, logger log.Logger) (physical.Backend, error) {
return nil, fmt.Errorf("FoundationDB backend not available in this Vault build")
}