Merge pull request #4484 from charleswhchan/fix-typo-2

Fix typos.
pull/4493/head
Philip O'Toole 2015-10-17 21:50:36 -07:00
commit c794a5db76
2 changed files with 3 additions and 3 deletions

View File

@ -323,7 +323,7 @@ func (w *PointsWriter) writeToShard(shard *meta.ShardInfo, database, retentionPo
// If the write consistency level is ANY, then a successful hinted handoff can
// be considered a successful write so send nil to the response channel
// otherwise, let the original error propogate to the response channel
// otherwise, let the original error propagate to the response channel
if hherr == nil && consistency == ConsistencyLevelAny {
ch <- &AsyncWriteResult{owner, nil}
return

View File

@ -228,9 +228,9 @@ func TestPointsWriter_WritePoints(t *testing.T) {
expErr: nil,
},
// Write to non-existant database
// Write to non-existent database
{
name: "write to non-existant database",
name: "write to non-existent database",
database: "doesnt_exist",
retentionPolicy: "",
consistency: cluster.ConsistencyLevelAny,