Skip to content

Commit

Permalink
(feat): Remove redundant variable
Browse files Browse the repository at this point in the history
  • Loading branch information
lasith-kg committed Nov 26, 2023
1 parent e757000 commit df68169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/layer/resize.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit df68169

Please sign in to comment.