clean(main): only display amount of volumes instead each ids in slack

This commit is contained in:
Yukine 2021-02-04 04:26:21 +01:00
parent 398b6bf0c1
commit 4c8d357fbf
No known key found for this signature in database
GPG Key ID: 6AE0B5764F0126D1
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ func main() {
}
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 {
handleError(ctx, err, false)
}