Skip to content

Commit 8f1179e

Browse files
Merge pull request openshift#7074 from r4f4/pkg-rhcos-errorf
pkg: rhcos: use Errorf instead of Error
2 parents e408d32 + c819b1e commit 8f1179e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/rhcos/ami_regions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
func AMIRegions(architecture types.Architecture) sets.String {
1515
stream, err := FetchCoreOSBuild(context.Background())
1616
if err != nil {
17-
logrus.Error("could not fetch the rhcos stream data: %w", err)
17+
logrus.Errorf("could not fetch the rhcos stream data: %v", err)
1818
return nil
1919
}
2020
rpmArch := arch.RpmArch(string(architecture))

0 commit comments

Comments
 (0)