diff --git a/cluster/points_writer.go b/cluster/points_writer.go index 3ea9f38f28..7bbb4b0240 100644 --- a/cluster/points_writer.go +++ b/cluster/points_writer.go @@ -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 diff --git a/cluster/points_writer_test.go b/cluster/points_writer_test.go index e98924d5fd..1ef8bd4b2c 100644 --- a/cluster/points_writer_test.go +++ b/cluster/points_writer_test.go @@ -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,