Skip to content

Commit 7a55eeb

Browse files
committed
fix
1 parent 4e85c07 commit 7a55eeb

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

internal/api/commands.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1648,7 +1648,7 @@ NOTE: Groups and projects are synonymous terms. Your group id is the same as you
16481648
},
16491649
},
16501650
Expect: &WatcherExpectProperties{
1651-
HTTPCode: 404,
1651+
HTTPCode: 404, //nolint
16521652
Match: nil,
16531653
},
16541654
},
@@ -3525,7 +3525,7 @@ NOTE: Groups and projects are synonymous terms. Your group id is the same as you
35253525
},
35263526
},
35273527
Expect: &WatcherExpectProperties{
3528-
HTTPCode: 404,
3528+
HTTPCode: 404, //nolint
35293529
Match: nil,
35303530
},
35313531
},
@@ -6587,7 +6587,7 @@ NOTE: Groups and projects are synonymous terms. Your group id is the same as you
65876587
},
65886588
},
65896589
Expect: &WatcherExpectProperties{
6590-
HTTPCode: 404,
6590+
HTTPCode: 404, //nolint
65916591
Match: nil,
65926592
},
65936593
},
@@ -10052,7 +10052,7 @@ NOTE: Groups and projects are synonymous terms. Your group id is the same as you
1005210052
},
1005310053
},
1005410054
Expect: &WatcherExpectProperties{
10055-
HTTPCode: 404,
10055+
HTTPCode: 404, //nolint
1005610056
Match: nil,
1005710057
},
1005810058
},
@@ -13500,7 +13500,7 @@ NOTE: Groups and projects are synonymous terms. Your group id is the same as you
1350013500
},
1350113501
},
1350213502
Expect: &WatcherExpectProperties{
13503-
HTTPCode: 404,
13503+
HTTPCode: 404, //nolint
1350413504
Match: nil,
1350513505
},
1350613506
},
@@ -20256,7 +20256,7 @@ NOTE: Groups and projects are synonymous terms. Your group id is the same as you
2025620256
},
2025720257
},
2025820258
Expect: &WatcherExpectProperties{
20259-
HTTPCode: 404,
20259+
HTTPCode: 404, //nolint
2026020260
Match: nil,
2026120261
},
2026220262
},
@@ -23086,7 +23086,7 @@ NOTE: Groups and projects are synonymous terms. Your group id is the same as you
2308623086
},
2308723087
},
2308823088
Expect: &WatcherExpectProperties{
23089-
HTTPCode: 404,
23089+
HTTPCode: 404, //nolint
2309023090
Match: nil,
2309123091
},
2309223092
},
@@ -27572,7 +27572,7 @@ NOTE: Groups and projects are synonymous terms. Your group id is the same as you
2757227572
},
2757327573
},
2757427574
Expect: &WatcherExpectProperties{
27575-
HTTPCode: 404,
27575+
HTTPCode: 404, //nolint
2757627576
Match: nil,
2757727577
},
2757827578
},

tools/api-generator/commands.go.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ var Commands = GroupedAndSortedCommands{
8484
},
8585
},
8686
Expect: {{if not .Watcher.Expect }} nil,{{else}}&WatcherExpectProperties{ {{if ne .Watcher.Expect.HTTPCode 0}}
87-
HTTPCode: {{ .Watcher.Expect.HTTPCode }},{{- end }}
87+
HTTPCode: {{ .Watcher.Expect.HTTPCode }}, //nolint{{- end }}
8888
Match: {{if not .Watcher.Expect.Match }} nil,{{else}}&WatcherMatchProperties{
8989
Path: `{{ .Watcher.Expect.Match.Path }}`,
9090
Values: []string{

0 commit comments

Comments
 (0)