Skip to content

Commit 1f99570

Browse files
author
Vishnu Challa
committed
Fixing CodeQL errors
Signed-off-by: Vishnu Challa <vchalla@vchalla-thinkpadp1gen2.rmtusnc.csb>
1 parent 0e47012 commit 1f99570

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocp-metadata/ocp-metadata.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ func (meta *Metadata) getIPSec() (bool, string, error) {
361361
}
362362
}
363363
if err != nil {
364-
return false, ipsecType, fmt.Errorf(err.Error())
364+
return false, ipsecType, fmt.Error(err.Error())
365365
}
366366
if ipsecMode != "Disabled" {
367367
return true, ipsecMode, nil

0 commit comments

Comments
 (0)