treewide: cleanup function receiver names
Change-Id: I0575175ea249a2bd39b4b7769e49a9995fae6f6d
Reviewed-on: https://review.monogon.dev/c/monogon/+/2959
Tested-by: Jenkins CI
Reviewed-by: Lorenz Brun <lorenz@monogon.tech>
diff --git a/metropolis/pkg/scsi/scsi.go b/metropolis/pkg/scsi/scsi.go
index e2d236e..f09bf44 100644
--- a/metropolis/pkg/scsi/scsi.go
+++ b/metropolis/pkg/scsi/scsi.go
@@ -220,11 +220,11 @@
}
// String returns the textual representation of this ASK
-func (s AdditionalSenseCode) String() string {
- if str, ok := additionalSenseCodeDesc[s]; ok {
+func (a AdditionalSenseCode) String() string {
+ if str, ok := additionalSenseCodeDesc[a]; ok {
return str
}
- return fmt.Sprintf("unknown additional sense code %xh %xh", s.ASK(), s.ASKQ())
+ return fmt.Sprintf("unknown additional sense code %xh %xh", a.ASK(), a.ASKQ())
}
// FixedError is one type of error returned by a SCSI CHECK_CONDITION.