1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +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
// 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