fix(CheckpointCreate): fix devicePaths variable scope

This commit is contained in:
Andreas Freimuth 2022-02-07 13:44:50 +01:00
parent 4b20a2d51a
commit c9388ff6e6

View file

@ -396,7 +396,6 @@ func (nm *networkManager) CheckpointCreate(devices []Device, rollbackTimeout uin
var devicePaths []dbus.ObjectPath
if len(devices) > 0 {
var devicePaths []dbus.ObjectPath
for _, device := range devices {
devicePaths = append(devicePaths, device.GetPath())
}