diff --git a/internal/layer/resize.go b/internal/layer/resize.go index 069bfed..42a485c 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 } @@ -49,7 +49,7 @@ func (fdl *ResizeDeviceLayer) Modify(c *config.Config) ([]action.Action, error) } func (fdl *ResizeDeviceLayer) Validate(c *config.Config) error { - for name, _ := range c.Devices { + for name := range c.Devices { if !c.GetResizeFs(name) { continue }