Skip to content

Commit

Permalink
Query extensions with --all-namespaces which resolves sensu#1014
Browse files Browse the repository at this point in the history
  • Loading branch information
treydock committed Nov 16, 2018
1 parent 12216b2 commit cb9f12a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/puppet/provider/sensuctl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ def convert_boolean_property_value(value)
def self.sensuctl_list(command)
args = [command]
args << 'list'
# TODO: Remove extension once resolved: https://github.com/sensu/sensu-go/issues/1767
if ! ['extension','namespace','role','user'].include?(command)
if ! ['namespace','role','user'].include?(command)
args << '--all-namespaces'
end
args << '--format'
Expand Down

0 comments on commit cb9f12a

Please sign in to comment.