From 8c66086936abe3ddf9e3b1d79f67e174bb4fe537 Mon Sep 17 00:00:00 2001 From: Soulou Date: Fri, 6 Mar 2020 17:08:26 +0100 Subject: [PATCH] Bump v1.8.1 --- Changelog.md | 4 ++++ api/client.go | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Changelog.md b/Changelog.md index f6f948a7..9ece7320 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,5 +1,9 @@ # To be released +# [2020-03-06] 1.8.1 + +* Update api.Client interface + # [2020-03-06] 1.8.0 * Feature: Allow the configuration of KeepaliveInterval and HealthcheckInterval by IP diff --git a/api/client.go b/api/client.go index 17971b7c..8ac7b21e 100644 --- a/api/client.go +++ b/api/client.go @@ -2,14 +2,12 @@ package api import ( "context" - - "github.com/Scalingo/link/models" ) type Client interface { ListIPs(ctx context.Context) ([]IP, error) GetIP(ctx context.Context, id string) (IP, error) - AddIP(ctx context.Context, ip string, checks ...models.Healthcheck) (IP, error) + AddIP(ctx context.Context, ip string, params AddIPParams) (IP, error) RemoveIP(ctx context.Context, id string) error TryGetLock(ctx context.Context, id string) error Version(ctx context.Context) (string, error)