From df681694e4b734c3d512c6fad3591cc4449e2898 Mon Sep 17 00:00:00 2001 From: Lasith Koswatta Gamage Date: Sun, 26 Nov 2023 07:54:36 +0000 Subject: [PATCH] (feat): Remove redundant variable --- internal/layer/resize.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/layer/resize.go b/internal/layer/resize.go index 069bfed..df32ee3 100644 --- a/internal/layer/resize.go +++ b/internal/layer/resize.go @@ -25,7 +25,7 @@ func (fdl *ResizeDeviceLayer) From(c *config.Config) error { func (fdl *ResizeDeviceLayer) Modify(c *config.Config) ([]action.Action, error) { actions := make([]action.Action, 0) - for name, _ := range c.Devices { + for name := range c.Devices { if !c.GetResizeFs(name) { continue }