commit | 4969fd72246bf4d50436a22acbb1bdcdaa72a0e9 | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@monogon.tech> | Wed Apr 19 17:43:12 2023 +0200 |
committer | Serge Bazanski <serge@monogon.tech> | Thu Apr 20 08:47:22 2023 +0000 |
tree | 5373a7a45fe6920443aa3639ce72aaa5c34c8ec2 | |
parent | 1cd2696d61071b072a24dbe127d9d95874377d66 [diff] [blame] |
cloud/shepherd/equinix/wrapngo: allow specifying options when getting device Change-Id: Ib1f4a88d1a45d9c0da1c56bd8ee21bf18302d9f8 Reviewed-on: https://review.monogon.dev/c/monogon/+/1576 Tested-by: Jenkins CI Reviewed-by: Tim Windelschmidt <tim@monogon.tech>
diff --git a/cloud/shepherd/equinix/manager/fakequinix_test.go b/cloud/shepherd/equinix/manager/fakequinix_test.go index d9e5683..1abe869 100644 --- a/cloud/shepherd/equinix/manager/fakequinix_test.go +++ b/cloud/shepherd/equinix/manager/fakequinix_test.go
@@ -53,7 +53,7 @@ } } -func (f *fakequinix) GetDevice(_ context.Context, pid, did string) (*packngo.Device, error) { +func (f *fakequinix) GetDevice(_ context.Context, pid, did string, _ *packngo.ListOptions) (*packngo.Device, error) { f.mu.Lock() defer f.mu.Unlock()