Project

General

Profile

Bug #3742

incorrect error on invalid parameters

Added by Ohad Levy over 6 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Hammer core
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

when not supplying a parameter value (e.g. build) you get an undefined error:

hammer host update --name test --build
No permissions to create log dir /var/log/foreman
File /var/log/foreman/hammer.log not writeable, won't log anything to file!
Could not update the host:
  Error: undefined method `downcase' for nil:NilClass

Associated revisions

Revision 2ff2a14b (diff)
Added by Tomas Strachota over 6 years ago

fixes #3742 - incorrect error on invalid bool parameters

Revision 69471b3c
Added by mbacovsky over 6 years ago

Merge pull request #57 from tstrachota/normalizers

fixes #3742 - incorrect error on invalid bool parameters

History

#1 Updated by Tomáš Strachota over 6 years ago

  • Category set to Hammer core
  • Status changed from New to Ready For Testing
  • Assignee set to Tomáš Strachota
  • Target version set to 1.10.0

#2 Updated by Anonymous over 6 years ago

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

Applied in changeset foreman:hammer-cli|commit:2ff2a14b5a1b8c776b440f19f132e19259b14c1f.

Also available in: Atom PDF