From 2efbf19c629533fbd84957c0f227b75ecc77a4ce Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Tue, 25 Feb 2020 15:44:23 +0100 Subject: [PATCH] REWORD ToString in log message --- zfs/placeholder.go | 1 - 1 file changed, 1 deletion(-) diff --git a/zfs/placeholder.go b/zfs/placeholder.go index 1fc95f1..a0176e0 100644 --- a/zfs/placeholder.go +++ b/zfs/placeholder.go @@ -63,7 +63,6 @@ type FilesystemPlaceholderState struct { // For nonexistent FS, err == nil and state.FSExists == false func ZFSGetFilesystemPlaceholderState(p *DatasetPath) (state *FilesystemPlaceholderState, err error) { state = &FilesystemPlaceholderState{FS: p.ToString()} - state.FS = p.ToString() props, err := zfsGet(p.ToString(), []string{PlaceholderPropertyName}, sourceLocal) var _ error = (*DatasetDoesNotExist)(nil) // weak assertion on zfsGet's interface if _, ok := err.(*DatasetDoesNotExist); ok {