Backup and restore container gateway postgres DB #1533
Annotations
10 errors
definitions/procedures/backup/online/container_gateway_db.rb#L15
Layout/LineLength: Line is too long. [104/100]
|
definitions/procedures/restore/container_gateway_dump.rb#L26
Layout/LineLength: Line is too long. [113/100]
|
definitions/procedures/restore/extract_files.rb#L52
Layout/LineLength: Line is too long. [135/100]
|
definitions/scenarios/restore.rb#L55
Metrics/AbcSize: Assignment Branch Condition size for restore_sql_dumps is too high. [<0, 24, 6> 24.74/22]
|
lib/foreman_maintain/concerns/base_database.rb#L77
Style/IdenticalConditionalBranches: Move `execute!(dump_command(config) + " -f #{file}", :hidden_patterns => [config['password']], :user => config['user'])` out of the conditional.
|
lib/foreman_maintain/concerns/base_database.rb#L77
Layout/LineLength: Line is too long. [123/100]
|
lib/foreman_maintain/concerns/base_database.rb#L79
Style/IdenticalConditionalBranches: Move `execute!(dump_command(config) + " -f #{file}", :hidden_patterns => [config['password']], :user => config['user'])` out of the conditional.
|
lib/foreman_maintain/concerns/base_database.rb#L79
Layout/LineLength: Line is too long. [123/100]
|
lib/foreman_maintain/concerns/base_database.rb#L90
Lint/UselessAssignment: Useless assignment to variable - `dump_cmd`.
|
lib/foreman_maintain/concerns/base_database.rb#L92
Style/ConditionalAssignment: Use the return of the conditional for variable assignment and comparison.
|
This job failed
Loading