(property properties.ConfigurableProperty)
| 50 | } |
| 51 | |
| 52 | func getUint64Property(property properties.ConfigurableProperty) uint64 { |
| 53 | uncastedValue := getPropertyOrDefault(property) |
| 54 | value, ok := uncastedValue.(uint64) |
| 55 | if !ok { |
| 56 | panic(fmt.Sprintf(unknownError, property.Name, uncastedValue)) |
| 57 | } |
| 58 | return value |
| 59 | } |
| 60 | |
| 61 | func getBoolProperty(property properties.ConfigurableProperty) bool { |
| 62 | uncastedValue := getPropertyOrDefault(property) |
no test coverage detected