2nd attempt to fix buffalo build in dockerfile. Was passing a string pointer instead of a string in specsla.go

This commit is contained in:
Jackie Elliott 2018-06-14 15:24:17 -07:00
Родитель 3508faf90b
Коммит 19982155bc
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -51,5 +51,5 @@ func (s *SpecslaSubscriber) ReceiveLabelEvent(c buffalo.Context, e eventgrid.Eve
}
// Replace the code below with your logic
return c.Render(200, render.JSON(map[string]string{"message": "Hopefully this works", "label name for last event": payload.Label.Name}))
return c.Render(200, render.JSON(map[string]string{"message": "Hopefully this works", "label name for last event": *payload.Label.Name}))
}