Project

General

Profile

Bug #21029

katello-change-hostname uses fail_with_message before defining it

Added by Evgeni Golov about 4 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tooling
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

sudo ./katello/katello-change-hostname --help
./katello/katello-change-hostname:16:in `run_cmd': undefined method `fail_with_message' for main:Object (NoMethodError)
from ./katello/katello-change-hostname:22:in `disable_system_check_option?'
from ./katello/katello-change-hostname:75:in `block in <main>'
from /usr/share/ruby/optparse.rb:1062:in `initialize'
from ./katello/katello-change-hostname:51:in `new'
from ./katello/katello-change-hostname:51:in `<main>'

Associated revisions

Revision 94074414 (diff)
Added by Evgeni Golov almost 4 years ago

Fixes #21029 - define fail_with_message before run_cmd

run_cmd uses fail_with_message, so it has to be defined before

History

#1 Updated by The Foreman Bot about 4 years ago

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

#2 Updated by Evgeni Golov about 4 years ago

to reproduce the error:

#3 Updated by Justin Sherrill about 4 years ago

  • Legacy Backlogs Release (now unused) set to 250

#4 Updated by Evgeni Golov almost 4 years ago

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

Also available in: Atom PDF