1
0
mirror of https://github.com/taigrr/wtf synced 2026-03-28 15:15:15 -07:00

Integrate vendored NewRelic dependency (#767)

The NewRelic module relies on yfronto/newrelic, which no longer exists.
yfronto deleted that directory quite awhile ago, and since then it has
been vendored.

But vendoring a missing repository creates problems when trying to
update the vendored code.

This PR brings the yfronto/newrelic code into the mainline.

Signed-off-by: Chris Cummer <chriscummer@me.com>
This commit is contained in:
Chris Cummer
2019-12-01 20:47:02 -08:00
committed by GitHub
parent d9464c4a22
commit 31926fd4a7
37 changed files with 9 additions and 67 deletions

View File

@@ -13,7 +13,7 @@ type Widget struct {
view.MultiSourceWidget
view.TextWidget
Clients []*Client
Clients []*Client2
settings *Settings
}
@@ -59,7 +59,7 @@ func (widget *Widget) HelpText() string {
/* -------------------- Unexported Functions -------------------- */
func (widget *Widget) currentData() *Client {
func (widget *Widget) currentData() *Client2 {
if len(widget.Clients) == 0 {
return nil
}