mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[core] log warning for unrecognized arguments
This commit is contained in:
parent
58257dd714
commit
7cc4773675
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ module Fog
|
|||
unless recognizes.empty?
|
||||
unrecognized = options.keys - requirements - recognized
|
||||
unless unrecognized.empty?
|
||||
raise ArgumentError, "Unrecognized arguments: #{unrecognized.join(', ')}"
|
||||
Fog::Logger.warning("Unrecognized arguments: #{unrecognized.join(', ')}")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue