From c9ff24ac36f730c8ece612888aa8618ff6908325 Mon Sep 17 00:00:00 2001 From: Josip Stanic Date: Mon, 27 May 2024 10:31:11 +0200 Subject: [PATCH] warp as initialism --- teams_accounts.go | 2 +- teams_accounts_test.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/teams_accounts.go b/teams_accounts.go index bbf404c94ae..3472fa4874f 100644 --- a/teams_accounts.go +++ b/teams_accounts.go @@ -149,7 +149,7 @@ type TeamsLoggingSettingsResponse struct { type TeamsConnectivitySettings struct { ICMPProxyEnabled *bool `json:"icmp_proxy_enabled"` - OfframpWarpEnabled *bool `json:"offramp_warp_enabled"` + OfframpWARPEnabled *bool `json:"offramp_warp_enabled"` } type TeamsAccountConnectivitySettingsResponse struct { diff --git a/teams_accounts_test.go b/teams_accounts_test.go index df27683fef0..5fd3686ac61 100644 --- a/teams_accounts_test.go +++ b/teams_accounts_test.go @@ -363,7 +363,7 @@ func TestTeamsAccountGetConnectivityConfiguration(t *testing.T) { if assert.NoError(t, err) { assert.Equal(t, actual, TeamsConnectivitySettings{ ICMPProxyEnabled: BoolPtr(false), - OfframpWarpEnabled: BoolPtr(false), + OfframpWARPEnabled: BoolPtr(false), }) } } @@ -387,13 +387,13 @@ func TestTeamsAccountUpdateConnectivityConfiguration(t *testing.T) { actual, err := client.TeamsAccountConnectivityUpdateConfiguration(context.Background(), testAccountID, TeamsConnectivitySettings{ ICMPProxyEnabled: BoolPtr(true), - OfframpWarpEnabled: BoolPtr(true), + OfframpWARPEnabled: BoolPtr(true), }) if assert.NoError(t, err) { assert.Equal(t, actual, TeamsConnectivitySettings{ ICMPProxyEnabled: BoolPtr(true), - OfframpWarpEnabled: BoolPtr(true), + OfframpWARPEnabled: BoolPtr(true), }) } }