Compare commits

...

1 Commits

Author SHA1 Message Date
Christian Schwarz 2efbf19c62 REWORD ToString in log message 2020-02-25 15:44:23 +01:00
-1
View File
@@ -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 {