diff options
author | ferhat elmas <elmas.ferhat@gmail.com> | 2017-03-16 10:50:22 +0100 |
---|---|---|
committer | ferhat elmas <elmas.ferhat@gmail.com> | 2017-03-16 10:50:22 +0100 |
commit | d94cd94c0d0cefbb176460bb675f81034333eb26 (patch) | |
tree | cd8839e7b1dbeb17ccfff5834085440082a55bdf /system/api | |
parent | 709fdc6ce0184034dfe2df7c413772c19a4455f0 (diff) |
Typo fixes
Diffstat (limited to 'system/api')
-rw-r--r-- | system/api/analytics/init.go | 2 | ||||
-rw-r--r-- | system/api/push.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/system/api/analytics/init.go b/system/api/analytics/init.go index f24425b..caa187a 100644 --- a/system/api/analytics/init.go +++ b/system/api/analytics/init.go @@ -137,7 +137,7 @@ func serve() { // ChartData returns the map containing decoded javascript needed to chart RANGE // days of data by day func ChartData() (map[string]interface{}, error) { - // set thresholds for today and the RANGE-1 days preceeding + // set thresholds for today and the RANGE-1 days preceding times := [RANGE]time.Time{} dates := [RANGE]string{} now := time.Now() diff --git a/system/api/push.go b/system/api/push.go index e936ef7..2b68d5b 100644 --- a/system/api/push.go +++ b/system/api/push.go @@ -35,7 +35,7 @@ func push(res http.ResponseWriter, req *http.Request, pt func() interface{}, dat err := pusher.Push(v.String(), nil) // check for error, "http2: recursive push not allowed" - // and return, supressing a log message + // and return, suppressing a log message if err != nil && err.Error() == http2.ErrRecursivePush.Error() { return true } |