Skip to content

Commit

Permalink
Remove names from "noCopy" fields
Browse files Browse the repository at this point in the history
Address a report by staticcheck: field noCopy is unused (U1000).
  • Loading branch information
hansmi committed Dec 25, 2022
1 parent 26d7053 commit d00e3e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion descriptor.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

type descriptor struct {
noCopy noCopy
_ noCopy

fieldName string

Expand Down
2 changes: 1 addition & 1 deletion group.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import "github.com/hansmi/prometheus-lvm-exporter/lvmreport"

type group struct {
noCopy noCopy
_ noCopy

name lvmreport.GroupName

Expand Down

0 comments on commit d00e3e5

Please sign in to comment.