mirror of
https://github.com/zrepl/zrepl.git
synced 2025-02-16 10:29:54 +01:00
REWORD ToString in log message
This commit is contained in:
parent
3ff1966cab
commit
2efbf19c62
@ -63,7 +63,6 @@ type FilesystemPlaceholderState struct {
|
|||||||
// For nonexistent FS, err == nil and state.FSExists == false
|
// For nonexistent FS, err == nil and state.FSExists == false
|
||||||
func ZFSGetFilesystemPlaceholderState(p *DatasetPath) (state *FilesystemPlaceholderState, err error) {
|
func ZFSGetFilesystemPlaceholderState(p *DatasetPath) (state *FilesystemPlaceholderState, err error) {
|
||||||
state = &FilesystemPlaceholderState{FS: p.ToString()}
|
state = &FilesystemPlaceholderState{FS: p.ToString()}
|
||||||
state.FS = p.ToString()
|
|
||||||
props, err := zfsGet(p.ToString(), []string{PlaceholderPropertyName}, sourceLocal)
|
props, err := zfsGet(p.ToString(), []string{PlaceholderPropertyName}, sourceLocal)
|
||||||
var _ error = (*DatasetDoesNotExist)(nil) // weak assertion on zfsGet's interface
|
var _ error = (*DatasetDoesNotExist)(nil) // weak assertion on zfsGet's interface
|
||||||
if _, ok := err.(*DatasetDoesNotExist); ok {
|
if _, ok := err.(*DatasetDoesNotExist); ok {
|
||||||
|
Loading…
Reference in New Issue
Block a user