Skip to content

Commit 16435c7

Browse files
committed
Fix hcn GetSupportedFeatures's error log msg
Signed-off-by: Daniel Canter <[email protected]>
1 parent f78d0ff commit 16435c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hcn/hcnsupport.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ func GetSupportedFeatures() SupportedFeatures {
7171
features, err := GetCachedSupportedFeatures()
7272
if err != nil {
7373
// Expected on pre-1803 builds, all features will be false/unsupported
74-
logrus.Errorf("Unable to obtain globals: %s", err)
74+
logrus.WithError(err).Errorf("unable to obtain supported features")
7575
return features
7676
}
7777
return features

0 commit comments

Comments
 (0)