open-consul/agent/segment_stub.go

16 lines
374 B
Go

// +build !ent
package agent
// done(fs): func ValidateSegments(conf *Config) error {
// done(fs): if conf.Segment != "" {
// done(fs): return structs.ErrSegmentsNotSupported
// done(fs): }
// done(fs):
// done(fs): if len(conf.Segments) > 0 {
// done(fs): return structs.ErrSegmentsNotSupported
// done(fs): }
// done(fs):
// done(fs): return nil
// done(fs): }