test
This commit is contained in:
parent
29d37e0dc1
commit
91a7a2a2ce
3
ssh.go
3
ssh.go
@ -62,6 +62,9 @@ func (s *SSHConfig) getFirstSnapshot(path string) (Snapshot, error) {
|
|||||||
for _, v := range s.snapshot {
|
for _, v := range s.snapshot {
|
||||||
if v.Path() == path {
|
if v.Path() == path {
|
||||||
first = v
|
first = v
|
||||||
|
if *debugFlag {
|
||||||
|
log.Printf("SSHConfig.getFirstSnapshot : Return %s", string(first))
|
||||||
|
}
|
||||||
return first, nil
|
return first, nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user