Skip to content
This repository has been archived by the owner on Jan 4, 2021. It is now read-only.

Commit

Permalink
Merge pull request #580 from ripienaar/576
Browse files Browse the repository at this point in the history
(#576) allow federation traces to be restricted to a subcollective
  • Loading branch information
ripienaar committed Mar 2, 2019
2 parents 2961433 + 9620f01 commit d7957ec
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/mcollective/application/federation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ class Federation < Application

exclude_argument_sections "common", "filter", "rpc"

option :collective,
:description => "Target messages to a specific sub collective",
:arguments => ["-T", "--target COLLECTIVE"],
:type => String,
:required => false

# Publish a specially crafted 'ping' with seen-by headers
# embedded, this signals to the entire collective to record
# their route
Expand Down

0 comments on commit d7957ec

Please sign in to comment.