open-vault/physical/foundationdb/foundationdbstub.go
2018-07-16 10:18:09 -04:00

16 lines
318 B
Go

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