Skip to content

Commit

Permalink
Merge pull request #251 from EmilienM/debug_nic
Browse files Browse the repository at this point in the history
api: log unsupported models
  • Loading branch information
adrianchiris authored Mar 13, 2022
2 parents eab2efa + b583b23 commit 45a912b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/v1/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ func IsSupportedModel(vendorId, deviceId string) bool {
return true
}
}
log.Info("IsSupportedModel():", "Unsupported model:", "vendorId:", vendorId, "deviceId:", deviceId)
return false
}

Expand All @@ -113,6 +114,7 @@ func IsVfSupportedModel(vendorId, deviceId string) bool {
return true
}
}
log.Info("IsVfSupportedModel():", "Unsupported VF model:", "vendorId:", vendorId, "deviceId:", deviceId)
return false
}

Expand Down

0 comments on commit 45a912b

Please sign in to comment.