1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-05 16:27:05 +00:00

source: drop stale BoolFeatureValue type

This commit is contained in:
Markus Lehtonen 2021-03-01 13:50:08 +02:00
parent e370429970
commit 1f819173d0

View file

@ -17,18 +17,7 @@ limitations under the License.
package source
// Value of a feature
type FeatureValue interface {
}
// Boolean feature value
type BoolFeatureValue bool
func (b BoolFeatureValue) String() string {
if b {
return "true"
}
return "false"
}
type FeatureValue interface{}
type Features map[string]FeatureValue