clean(main): only display amount of volumes instead each ids in slack
This commit is contained in:
parent
398b6bf0c1
commit
4c8d357fbf
@ -138,7 +138,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ctx.SlackContext != nil {
|
if ctx.SlackContext != nil {
|
||||||
err = ctx.SlackContext.SendEvent(fmt.Sprintf("Successfully created Backup for Volumes %s", strings.Join(volumeIDs, ", ")), log.InfoLevel)
|
err = ctx.SlackContext.SendEvent(fmt.Sprintf("Successfully created Backup for %d Volumes", len(volumeIDs)), log.InfoLevel)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
handleError(ctx, err, false)
|
handleError(ctx, err, false)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user