From 95fc03eaed472fce2387b6304f255d1ff739764d Mon Sep 17 00:00:00 2001 From: ezilber-akamai Date: Wed, 8 Feb 2023 10:23:10 -0500 Subject: [PATCH] Fixed linting issue --- longview.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/longview.go b/longview.go index 49bdeeb08..ba2cb7450 100644 --- a/longview.go +++ b/longview.go @@ -131,7 +131,7 @@ func (c *Client) UpdateLongviewClient(ctx context.Context, clientID int, opts Lo // GetLongviewPlan gets the template with the provided ID func (c *Client) GetLongviewPlan(ctx context.Context) (*LongviewPlan, error) { - e := fmt.Sprintf("longview/plan") + e := "longview/plan" r, err := c.R(ctx).SetResult(&LongviewPlan{}).Get(e) if err != nil { return nil, err @@ -146,7 +146,7 @@ func (c *Client) UpdateLongviewPlan(ctx context.Context, opts LongviewPlanUpdate return nil, err } - e := fmt.Sprintf("longview/plan") + e := "longview/plan" req := c.R(ctx).SetResult(&LongviewPlan{}).SetBody(string(body)) r, err := coupleAPIErrors(req.Put(e)) if err != nil {