summaryrefslogtreecommitdiffstats
path: root/store/sql_system_store.go
diff options
context:
space:
mode:
authorPat Lathem <patl@codero.com>2015-10-30 12:41:51 -0500
committerPat Lathem <patl@codero.com>2015-10-30 12:41:51 -0500
commite6826c4d213cf33236ab1ee1d3bde96baf60a09a (patch)
tree245cc5b183d52438bd0057883219c2965e1e46f6 /store/sql_system_store.go
parent84faccb7b74dba773cd72e2d0cebdd5bf6a34566 (diff)
downloadchat-e6826c4d213cf33236ab1ee1d3bde96baf60a09a.tar.gz
chat-e6826c4d213cf33236ab1ee1d3bde96baf60a09a.tar.bz2
chat-e6826c4d213cf33236ab1ee1d3bde96baf60a09a.zip
Fix spelling of encountered
Diffstat (limited to 'store/sql_system_store.go')
-rw-r--r--store/sql_system_store.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/store/sql_system_store.go b/store/sql_system_store.go
index a4cb52d4d..1fbdfb333 100644
--- a/store/sql_system_store.go
+++ b/store/sql_system_store.go
@@ -37,7 +37,7 @@ func (s SqlSystemStore) Save(system *model.System) StoreChannel {
result := StoreResult{}
if err := s.GetMaster().Insert(system); err != nil {
- result.Err = model.NewAppError("SqlSystemStore.Save", "We encounted an error saving the system property", "")
+ result.Err = model.NewAppError("SqlSystemStore.Save", "We encountered an error saving the system property", "")
}
storeChannel <- result
@@ -55,7 +55,7 @@ func (s SqlSystemStore) Update(system *model.System) StoreChannel {
result := StoreResult{}
if _, err := s.GetMaster().Update(system); err != nil {
- result.Err = model.NewAppError("SqlSystemStore.Save", "We encounted an error updating the system property", "")
+ result.Err = model.NewAppError("SqlSystemStore.Save", "We encountered an error updating the system property", "")
}
storeChannel <- result
@@ -75,7 +75,7 @@ func (s SqlSystemStore) Get() StoreChannel {
var systems []model.System
props := make(model.StringMap)
if _, err := s.GetReplica().Select(&systems, "SELECT * FROM Systems"); err != nil {
- result.Err = model.NewAppError("SqlSystemStore.Get", "We encounted an error finding the system properties", "")
+ result.Err = model.NewAppError("SqlSystemStore.Get", "We encountered an error finding the system properties", "")
} else {
for _, prop := range systems {
props[prop.Name] = prop.Value