Skip to content

Commit

Permalink
Fix hcn GetSupportedFeatures's error log msg
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Canter <dcanter@microsoft.com>
  • Loading branch information
dcantah committed Aug 19, 2021
1 parent f78d0ff commit 16435c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hcn/hcnsupport.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func GetSupportedFeatures() SupportedFeatures {
features, err := GetCachedSupportedFeatures()
if err != nil {
// Expected on pre-1803 builds, all features will be false/unsupported
logrus.Errorf("Unable to obtain globals: %s", err)
logrus.WithError(err).Errorf("unable to obtain supported features")
return features
}
return features
Expand Down

0 comments on commit 16435c7

Please sign in to comment.