mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-22 00:13:52 +01:00
endpoing: better log message for v1 replication cursors
This commit is contained in:
parent
f5f94219fd
commit
515ddb8307
@ -7,7 +7,6 @@ import (
|
|||||||
"regexp"
|
"regexp"
|
||||||
"sort"
|
"sort"
|
||||||
|
|
||||||
"github.com/kr/pretty"
|
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
|
|
||||||
"github.com/zrepl/zrepl/util/errorarray"
|
"github.com/zrepl/zrepl/util/errorarray"
|
||||||
@ -107,7 +106,7 @@ func GetReplicationCursors(ctx context.Context, dp *zfs.DatasetPath, jobID JobID
|
|||||||
}
|
}
|
||||||
|
|
||||||
if len(v1) > 0 {
|
if len(v1) > 0 {
|
||||||
getLogger(ctx).WithField("bookmark", pretty.Sprint(v1)).
|
getLogger(ctx).WithField("bookmark", v1).
|
||||||
Warn("found v1-replication cursor bookmarks, consider running migration 'replication-cursor:v1-v2' after successful replication with this zrepl version")
|
Warn("found v1-replication cursor bookmarks, consider running migration 'replication-cursor:v1-v2' after successful replication with this zrepl version")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user