From e3a488ccf501e949f68ecdd325313c163bcc40fd Mon Sep 17 00:00:00 2001 From: Samuel Lorch Date: Tue, 4 Apr 2023 00:02:37 +0200 Subject: [PATCH] Create Interface API. interface Fields top level --- internal/api/network/interfaces.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/api/network/interfaces.go b/internal/api/network/interfaces.go index 597197c..77c0556 100644 --- a/internal/api/network/interfaces.go +++ b/internal/api/network/interfaces.go @@ -18,8 +18,8 @@ func (f *Network) GetInterfaces(ctx context.Context, params struct{}) (GetInterf } type CreateInterfaceParameters struct { - Name string - Interface definitions.Interface + Name string + definitions.Interface } func (f *Network) CreateInterface(ctx context.Context, params CreateInterfaceParameters) (struct{}, error) { @@ -36,8 +36,8 @@ func (f *Network) CreateInterface(ctx context.Context, params CreateInterfacePar } type UpdateInterfaceParameters struct { - Name string - Interface definitions.Interface + Name string + definitions.Interface } func (f *Network) UpdateInterface(ctx context.Context, params UpdateInterfaceParameters) (struct{}, error) {