consul/vendor/gopkg.in/mgo.v2/saslstub.go

12 lines
194 B
Go
Raw Normal View History

2018-06-21 14:49:35 +00:00
//+build !sasl
package mgo
import (
"fmt"
)
func saslNew(cred Credential, host string) (saslStepper, error) {
return nil, fmt.Errorf("SASL support not enabled during build (-tags sasl)")
}