Skip to content

Commit

Permalink
use find
Browse files Browse the repository at this point in the history
  • Loading branch information
digitaltom committed Sep 22, 2015
1 parent 2f0594d commit 14cabac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/suse/connect/migration.rb
Expand Up @@ -38,7 +38,7 @@ def rollback(client_params = {})
client.synchronize(status.installed_products)

# Set releasever to the new baseproduct version
target_version = status.installed_products.detect(&:isbase).version
target_version = status.installed_products.find(&:isbase).version
SUSE::Connect::Zypper.set_release_version(target_version)
end

Expand Down

0 comments on commit 14cabac

Please sign in to comment.