Skip to content

Commit

Permalink
Fix a few misspellings
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Desrosiers committed Jun 1, 2017
1 parent fab0a45 commit a3b5ab4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion storage/migrations/S3v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package migrations
// // from this:
// // short -> url
// func MigrateS3FromV1ToV2(storage *storage.S3, writenew bool, deleteold bool) {
// log.Println("Begining S3 migration from v1 design to v2")
// log.Println("Beginning S3 migration from v1 design to v2")
//
// s3b := storage.Bucket
//
Expand Down
2 changes: 1 addition & 1 deletion storage/multistorage/multistorage_option.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func SaveToAll() MultiStorageOption {
}
}

// SaveOnlyOnce causes the MultiStorage to try to save the short and url to all of the underlying stores, however it will return immidately if it has any successful saves. This will only report an error if all backends fail
// SaveOnlyOnce causes the MultiStorage to try to save the short and url to all of the underlying stores, however it will return immediately if it has any successful saves. This will only report an error if all backends fail
func SaveOnlyOnce() MultiStorageOption {
return func(m *MultiStorage) error {
m.saver = saveOnlyOnceFunc
Expand Down
2 changes: 1 addition & 1 deletion storage/storage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func TestNamedStorageNormalization(t *testing.T) {
}

func TestMissingLoad(t *testing.T) {
testCode := "non-existant-short-string"
testCode := "non-existent-short-string"

for name, setupStorage := range storageSetups {
setupStorage := setupStorage
Expand Down

0 comments on commit a3b5ab4

Please sign in to comment.