fix(CheckpointCreate): fix devicePaths variable scope
This commit is contained in:
parent
4b20a2d51a
commit
c9388ff6e6
1 changed files with 0 additions and 1 deletions
|
@ -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())
|
||||
}
|
||||
|
|
Reference in a new issue