Skip to content

Commit bed543b

Browse files
authored
chore(instance): new lint errors from v2.7.0 (#5209)
1 parent 9be796c commit bed543b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

internal/namespaces/instance/v1/helpers_test.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@ func deleteServer(metaKey string) core.AfterFunc {
8888

8989
// createVolume creates a volume of the given size and type and
9090
// register it in the context Meta at metaKey.
91-
//
92-
//nolint:unparam
9391
func createVolume(
9492
metaKey string,
9593
sizeInGb int,
@@ -110,14 +108,12 @@ func createVolume(
110108
}
111109

112110
// deleteVolume deletes a volume previously registered in the context Meta at metaKey.
113-
func deleteVolume(metaKey string) core.AfterFunc { //nolint: unparam
111+
func deleteVolume(metaKey string) core.AfterFunc {
114112
return core.ExecAfterCmd("scw instance volume delete {{ ." + metaKey + ".ID }}")
115113
}
116114

117115
// createSbsVolume creates a volume of the given size and
118116
// register it in the context Meta at metaKey
119-
//
120-
//nolint:unparam
121117
func createSbsVolume(metaKey string, sizeInGb int) core.BeforeFunc {
122118
return func(ctx *core.BeforeFuncCtx) error {
123119
cmd := fmt.Sprintf(

0 commit comments

Comments
 (0)