Skip to content

Commit

Permalink
Add description to Slack message.
Browse files Browse the repository at this point in the history
  • Loading branch information
cregev committed Jun 16, 2020
1 parent 75e430d commit 4dd6555
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions api/storage/structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ type StorageDescriber interface {
GetResources(resourceType string, executionID string) ([]map[string]interface{}, error)
}

// Executions define the execution collectors data
// Executions defines the collectors execution data
type Executions struct {
ID string
Name string
Time time.Time
}

// CollectorsSummary define unused resource summery
// CollectorsSummary defines unused resource summary
type CollectorsSummary struct {
ResourceName string `json:"ResourceName"`
ResourceCount int64 `json:"ResourceCount"`
Expand Down
2 changes: 1 addition & 1 deletion notifiers/providers/slack/slack.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (sm *Manager) prepareAttachment(message common.NotifierReport, tags []strin
{
Color: greenMessageColor,
AuthorName: AuthorName,
Pretext: fmt.Sprintf("Here is the <%s|Cost report> for your notification group: %s *filtered by: %s*",
Pretext: fmt.Sprintf("Here is the *Monthly* <%s|Cost report> for your notification group: %s *filtered by: %s*",
message.UIAddr,
message.GroupName,
strings.Join(tags, " AND ")),
Expand Down

0 comments on commit 4dd6555

Please # to comment.