(hostIdentifiers []string)
| 96 | } |
| 97 | |
| 98 | func ValidateHostInfoHostIdentifiers(hostIdentifiers []string) error { |
| 99 | if len(hostIdentifiers) == 0 { |
| 100 | return errors.New("at least one value must be provided in host_identifiers") |
| 101 | } |
| 102 | return nil |
| 103 | } |
| 104 | |
| 105 | func ValidateHostInfoMetricName(metricName string) error { |
| 106 | if !model.UTF8Validation.IsValidLabelName(metricName) { |