version up, is today a tuesday?

pull/560/head
hunterlong 2020-05-02 04:06:02 -07:00
parent 6860210926
commit 8ac6fff7bf
3 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
# 0.90.36 (05-02-2020)
- Fixed Notifier golang templating func to use correct variables
# 0.90.35 (05-01-2020)
- Fixed issue with API endpoints cannot accepting Authorization header
- Fixed issue with sass executable not being found, SASS environment var re-implemented

View File

@ -12,5 +12,5 @@ func TestReplaceTemplate(t *testing.T) {
temp = `{"id":{{.Service.Id}},"name":"{{.Service.Name}}","downtime":"{{.Service.DowntimeAgo}}","failure":"{{.Failure.Issue}}"}`
replaced = ReplaceTemplate(temp, replacer{Service: exampleService, Failure: exampleFailure})
assert.Equal(t, `{"id":1,"name":"Statping","failure":"HTTP returned a 500 status code"} want {"id":1,"name":"Statping","downtime":"15 seconds ago","failure":"HTTP returned a 500 status code"}`, replaced)
assert.Equal(t, `{"id":1,"name":"Statping","downtime":"15 seconds ago","failure":"HTTP returned a 500 status code"}`, replaced)
}

View File

@ -1 +1 @@
0.90.35
0.90.36