treewide: fix %w in cases where only %v is supported
Change-Id: I24ae051e960b0e4ad003bb48e34b038debf6d79b
Reviewed-on: https://review.monogon.dev/c/monogon/+/3033
Reviewed-by: Leopold Schabel <leo@monogon.tech>
Tested-by: Jenkins CI
Reviewed-by: Lorenz Brun <lorenz@monogon.tech>
diff --git a/cloud/shepherd/manager/provisioner.go b/cloud/shepherd/manager/provisioner.go
index db16ffa..e777e23 100644
--- a/cloud/shepherd/manager/provisioner.go
+++ b/cloud/shepherd/manager/provisioner.go
@@ -411,7 +411,7 @@
UnusedMachine: machine,
})
if err != nil {
- klog.Errorf("while creating new device (ID: %s, Addr: %s, Availability: %s): %w", machine.ID(), machine.Addr(), machine.Availability(), err)
+ klog.Errorf("while creating new device (ID: %s, Addr: %s, Availability: %s): %v", machine.ID(), machine.Addr(), machine.Availability(), err)
continue
}
klog.Infof("Created new machine with ID: %s", nd.ID())