Bug #24488
closed
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/hammer-cli/pull/280 added
- Bugzilla link set to 1611004
The description of the problem is not entirely correct. The resource as an instance method is present. What is actually going on there is that when the resource is missing in API it is set to nil and warning is printed. Later when we are asking for the resource assigned to the command we see the nil and try to ask the parent command which is the MainCommand for the top level commands. The MainCommand is not child of ApipieCommand and has no resource assigned and this is the place where the original error comes from "Error: undefined method `resource' for HammerCLI::MainCommand:Class".
- Status changed from Ready For Testing to Closed
- Fixed in Releases hammer-cli 0.14.0 added
- Fixed in Releases hammer-cli 0.13.1 added
Also available in: Atom
PDF