Project

General

Profile

Bug #27514

Remove Docker related commands (Error: undefined method `action' for nil:NilClass)

Added by Martin Bacovsky over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Category:
CLI
Target version:
-
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1734448

Description of problem:
For technical reasons, Docker CR commands were not removed while removing Docker CR support. They should be removed in the following versions.
Some commands even show undefined method error which is a clear bug.

Version-Release number of selected component (if applicable):
Sat 6.6

How reproducible:
Deterministic

Steps to Reproduce:
1. hammer docker container
2. hammer docker container status

Actual results:
First command exists (and correctly states "Unfortunately the server does not support such operation.")
Second command exists (and incorrectly shows error "Error: undefined method `action' for nil:NilClass")

Expected results:
Commands shouldn't exist

Associated revisions

Revision 432b53e8 (diff)
Added by Martin Bacovsky over 3 years ago

Fixes #27514 - Registry and container conditional

History

#1 Updated by Martin Bacovsky over 3 years ago

  • Category changed from 111 to Container

#2 Updated by Martin Bacovsky over 3 years ago

  • Category changed from Container to CLI
  • Project changed from Katello to Docker

#3 Updated by Martin Bacovsky over 3 years ago

  • Assignee set to Martin Bacovsky
  • Pull request https://github.com/theforeman/hammer_cli_foreman_docker/pull/25 added

#4 Updated by Martin Bacovsky over 3 years ago

  • Status changed from New to Closed

#5 Updated by Martin Bacovsky over 3 years ago

  • Triaged changed from No to Yes

Also available in: Atom PDF