Skip to content

Commit

Permalink
Merge pull request #13119 from hamistao/remove_impossible_condition
Browse files Browse the repository at this point in the history
lxc/copy.go: remove impossible condition
  • Loading branch information
tomponline committed Mar 13, 2024
2 parents 4e8c581 + 33c35d0 commit f9a5bbb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lxc/copy.go
Expand Up @@ -206,9 +206,6 @@ func (c *cmdCopy) copyInstance(conf *config.Config, sourceResource string, destR
}

rootDiskDeviceKey, _, _ := instancetype.GetRootDiskDevice(entry.Devices)
if err != nil {
return err
}

if rootDiskDeviceKey != "" && pool != "" {
entry.Devices[rootDiskDeviceKey]["pool"] = pool
Expand Down

0 comments on commit f9a5bbb

Please sign in to comment.