From c8282ca5f159bf808f4baac1588f7d6d3fc17004 Mon Sep 17 00:00:00 2001 From: Nguyen Hai Truong Date: Wed, 20 Feb 2019 16:32:05 +0700 Subject: [PATCH] Remove duplicated words in comments (#1362) Although it is spelling mistakes, it might make an affects while reading. Signed-off-by: Nguyen Hai Truong --- model/process.go | 2 +- plugin/storage/es/spanstore/dbmodel/model.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/model/process.go b/model/process.go index 145dc9298ea..9e1da634414 100644 --- a/model/process.go +++ b/model/process.go @@ -19,7 +19,7 @@ import ( ) // NewProcess creates a new Process for given serviceName and tags. -// The tags are sorted in place and kept in the the same array/slice, +// The tags are sorted in place and kept in the same array/slice, // in order to store the Process in a canonical form that is relied // upon by the Equal and Hash functions. func NewProcess(serviceName string, tags []KeyValue) *Process { diff --git a/plugin/storage/es/spanstore/dbmodel/model.go b/plugin/storage/es/spanstore/dbmodel/model.go index ca676b6e112..2d4692ee692 100644 --- a/plugin/storage/es/spanstore/dbmodel/model.go +++ b/plugin/storage/es/spanstore/dbmodel/model.go @@ -86,7 +86,7 @@ type Log struct { Fields []KeyValue `json:"fields"` } -// KeyValue is a a key-value pair with typed value. +// KeyValue is a key-value pair with typed value. type KeyValue struct { Key string `json:"key"` Type ValueType `json:"type,omitempty"`