Skip to content

Commit

Permalink
Merge pull request #814 from marquiz/devel/network
Browse files Browse the repository at this point in the history
source/network: ignore interface operational state
  • Loading branch information
k8s-ci-robot authored Jun 7, 2022
2 parents 869c7cd + 94d105e commit 7c4a74f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions source/network/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@ func (s *networkSource) GetLabels() (source.FeatureLabels, error) {

for _, dev := range features.Instances[DeviceFeature].Elements {
attrs := dev.Attributes
if attrs["operstate"] != "up" {
continue
}
for attr, feature := range map[string]string{
"sriov_totalvfs": "sriov.capable",
"sriov_numvfs": "sriov.configured"} {
Expand Down

0 comments on commit 7c4a74f

Please sign in to comment.