1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-23 15:29:42 +02:00

fix: miscofigured logging statements (#7721)

This commit is contained in:
Dmitry Salakhov 2022-09-23 13:15:26 +12:00 committed by GitHub
parent 6e0f83b99e
commit 45e2ed3d86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 6 deletions

View file

@ -518,7 +518,7 @@ func (store *Store) Export(filename string) (err error) {
if snapshot, err := store.Snapshot().Snapshots(); err != nil {
if !store.IsErrObjectNotFound(err) {
logrus.WithError(err).Errorf("Exporting Snapshots")
log.Err(err).Msg("Exporting Snapshots")
}
} else {
backup.Snapshot = snapshot