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:
commit
f8ad566e91
1 changed files with 1 additions and 12 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue