зеркало из https://github.com/Azure/spec-sla-bot.git
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:
Родитель
3508faf90b
Коммит
19982155bc
|
@ -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}))
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче