func (s InterfaceInfos) Validate() error {
	for _, dev := range s {
		if err := dev.Validate(); err != nil {
			return errors.Trace(err)
		}
	}
	return nil
}
// Validate validates each interface, returning an error if any are invalid
Validate validates each interface, returning an error if any are invalid
// Validate validates each interface returning an error if any are invalid
func (s InterfaceInfos) Validate() error {
	for _, dev := range s {
		if err := dev.Validate(); err != nil {
			return errors.Trace(err)
		}
	}
	return nil
}
func ( s InterfaceInfos ) Validate ( ) error { for _ , dev := range s { if err := dev . Validate ( ) ; err != nil { return errors . Trace ( err ) } } return nil }
Validate validates each interface, returning an error if any are invalid
Validate validates each interface returning an error if any are invalid