File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
internal/namespaces/instance/v1 Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff 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
9391func 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
121117func createSbsVolume (metaKey string , sizeInGb int ) core.BeforeFunc {
122118 return func (ctx * core.BeforeFuncCtx ) error {
123119 cmd := fmt .Sprintf (
You can’t perform that action at this time.
0 commit comments