(comp *appsv1.Component, label string)
| 111 | } |
| 112 | |
| 113 | func getCompLabelValue(comp *appsv1.Component, label string) (string, error) { |
| 114 | return getCompValueFromMap(comp, comp.Labels, "label", label) |
| 115 | } |
| 116 | |
| 117 | func getCompValueFromMap(comp *appsv1.Component, m map[string]string, tp string, key string) (string, error) { |
| 118 | if m == nil { |
no test coverage detected
searching dependent graphs…