You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
consul/agent/segment_stub.go

16 lines
374 B

// +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): }