From b2ad25c5f2408c6f7a68a128cf1335b9d80fcac2 Mon Sep 17 00:00:00 2001 From: Edward Viaene Date: Fri, 15 Nov 2024 16:00:28 -0600 Subject: [PATCH] gcp max user code fix --- licensing/license.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/licensing/license.go b/licensing/license.go index fa9fd6f..2dac6dd 100644 --- a/licensing/license.go +++ b/licensing/license.go @@ -82,6 +82,11 @@ func getMaxUsers(storage storage.ReadWriter, cloudType, instanceType string) int Timeout: 5 * time.Second, } return GetMaxUsersDigitalOceanBYOL(client, storage) + case "gcp": + client := http.Client{ + Timeout: 5 * time.Second, + } + return GetMaxUsersGCPBYOL(client, storage) case "": client := http.Client{ Timeout: 5 * time.Second,