...
 
Commits (2)
......@@ -18,7 +18,7 @@ import (
"time"
)
// rsyncIgnoreErrors are rsync return values that are considered temporary
// rsyncIgnoredErrors are rsync return values that are considered temporary
// errors. If rsync returns one of these error codes, snaprd will not fail and
// try again next time.
var rsyncIgnoredErrors = map[int]string{
......
......@@ -63,6 +63,6 @@ func TestFakeRsyncFail(t *testing.T) {
_, err := createSnapshot(testSnapshots[0])
got := err
if got == nil {
t.Errorf("createSnapshot() succeded, but it should have failed: %v", got)
t.Errorf("createSnapshot() succeeded, but it should have failed: %v", got)
}
}