зеркало из https://github.com/github/vulcanizer.git
Fix spelling errors
This commit is contained in:
Родитель
3f1d5edde1
Коммит
22922e00f3
2
es.go
2
es.go
|
@ -467,7 +467,7 @@ func (c *Client) DeleteSnapshot(repository string, snapshot string) error {
|
|||
}
|
||||
|
||||
if !response.Acknowledged {
|
||||
return fmt.Errorf(`Request to delete snapshot "%s" on respository "%s" was not acknowledged. %+v`, snapshot, repository, response)
|
||||
return fmt.Errorf(`Request to delete snapshot "%s" on repository "%s" was not acknowledged. %+v`, snapshot, repository, response)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
|
@ -78,7 +78,7 @@ func TestSnapshots(t *testing.T) {
|
|||
}
|
||||
|
||||
if len(snapshots) != 1 || snapshots[0].Name != "snapshot_1" {
|
||||
t.Fatalf("Did not retreive expected snapshots: %+v", snapshots)
|
||||
t.Fatalf("Did not retrieve expected snapshots: %+v", snapshots)
|
||||
}
|
||||
|
||||
snapshot, err := c.GetSnapshotStatus("backup-repo", "snapshot_1")
|
||||
|
|
Загрузка…
Ссылка в новой задаче