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

Merge pull request #459 from marquiz/fixes/cleanup

source: drop stale BoolFeatureValue type
This commit is contained in:
Kubernetes Prow Robot 2021-03-01 08:17:26 -08:00 committed by GitHub
commit f8ad566e91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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