dice-cyfronet/migratio

View on GitHub

Showing 1 of 1 total issue

Method perform_action has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      def perform_action(image_uuid, compute_site)
        Sidekiq::Client.push(
          'queue' => 'feedback',
          'class' => 'Atmosphere::UpdateMigrationJobStatusWorker',
          'args' => [image_uuid, config.name, compute_site, 'Migration started'])
Severity: Minor
Found in lib/migratio/worker/openstack_amazon_migrator.rb - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language