Skip to content

Commit 39d5ef2

Browse files
committed
Lint: revive struct-tag
Signed-off-by: apostasie <[email protected]>
1 parent 1b3b183 commit 39d5ef2

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.golangci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,6 @@ linters:
9595
- name: use-any
9696
disabled: true
9797
# FIXME: we should enable these below
98-
- name: struct-tag
99-
disabled: true
10098
- name: empty-lines
10199
disabled: true
102100
- name: unhandled-error

pkg/cmd/network/list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ type networkPrintable struct {
3535
Name string
3636
Labels string
3737
// TODO: "CreatedAt", "Driver", "IPv6", "Internal", "Scope"
38-
file string `json:"-"`
38+
file string
3939
}
4040

4141
func List(ctx context.Context, options types.NetworkListOptions) error {

0 commit comments

Comments
 (0)