diff --git a/cmd/lxd-to-incus/main.go b/cmd/lxd-to-incus/main.go index 66c402706f7..fc02c3443c8 100644 --- a/cmd/lxd-to-incus/main.go +++ b/cmd/lxd-to-incus/main.go @@ -392,7 +392,7 @@ func (c *cmdMigrate) validate(srcClient lxd.InstanceServer, targetClient incus.I } // Cluster validation. - if !srcServerInfo.Environment.ServerClustered { + if srcServerInfo.Environment.ServerClustered { clusterMembers, err := srcClient.GetClusterMembers() if err != nil { return fmt.Errorf("Failed to retrieve the list of cluster members")