Skip to content

Commit

Permalink
🧹 fix slack asset name and discovery/req args (#1927)
Browse files Browse the repository at this point in the history
  • Loading branch information
vjeffrey authored Sep 26, 2023
1 parent 32f3551 commit fc4886c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions providers/slack/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ var Config = plugin.Provider{
Name: "slack",
Use: "slack",
Short: "slack team",
MinArgs: 1,
MaxArgs: 1,
MinArgs: 0,
MaxArgs: 0,
Discovery: []string{},
Flags: []plugin.Flag{
{
Expand Down
2 changes: 1 addition & 1 deletion providers/slack/connection/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func NewSlackConnection(id uint32, asset *inventory.Asset, conf *inventory.Confi

sc.client = client
sc.teamInfo = teamInfo
sc.asset.Name = teamInfo.Name
sc.asset.Name = "Slack team " + teamInfo.Name
return sc, nil
}

Expand Down

0 comments on commit fc4886c

Please sign in to comment.