Skip to content

Commit

Permalink
Fixed linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ezilber-akamai committed Feb 8, 2023
1 parent 89f9b3c commit 95fc03e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions longview.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 {
Expand Down

0 comments on commit 95fc03e

Please sign in to comment.