From 515ddb8307941b86fbc33dc8e42196556d2f0a2e Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Mon, 6 Apr 2020 12:51:06 +0200 Subject: [PATCH] endpoing: better log message for v1 replication cursors --- .../endpoint_zfs_abstraction_cursor_and_last_received_hold.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/endpoint/endpoint_zfs_abstraction_cursor_and_last_received_hold.go b/endpoint/endpoint_zfs_abstraction_cursor_and_last_received_hold.go index f275002..a998abf 100644 --- a/endpoint/endpoint_zfs_abstraction_cursor_and_last_received_hold.go +++ b/endpoint/endpoint_zfs_abstraction_cursor_and_last_received_hold.go @@ -7,7 +7,6 @@ import ( "regexp" "sort" - "github.com/kr/pretty" "github.com/pkg/errors" "github.com/zrepl/zrepl/util/errorarray" @@ -107,7 +106,7 @@ func GetReplicationCursors(ctx context.Context, dp *zfs.DatasetPath, jobID JobID } 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") }