Project

General

Profile

Bug #18756

katello-backup --incremental failure does not provide adequate error message

Added by Christine Fouant about 2 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Katello-backup script fails if the --incremental option is given without a directory. Instead of a proper error message, user gets this output:
/usr/bin/katello-backup:18:in `directory?': can't convert nil into String (TypeError)

Associated revisions

Revision 4f6d966d (diff)
Added by Christine Fouant about 2 years ago

fixes #18756 - adds proper error message to katello-backup --incremental failure

History

#1 Updated by Christine Fouant about 2 years ago

  • Project changed from Katello to Packaging

#2 Updated by The Foreman Bot about 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello-packaging/pull/391 added

#3 Updated by Christine Fouant about 2 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Eric Helms about 2 years ago

  • Project changed from Packaging to Katello
  • Pull request deleted (https://github.com/Katello/katello-packaging/pull/391)

#5 Updated by Eric Helms about 2 years ago

  • Legacy Backlogs Release (now unused) set to 211

#6 Updated by Bryan Kearney about 2 years ago

  • Bugzilla link set to 1447619

Also available in: Atom PDF