Browse Source

GreenhouseAPIKey -> GreenhouseAPIToken

master
forest 1 month ago
parent
commit
8039e3d147
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      threshold_provisioning_service.go

+ 2
- 2
threshold_provisioning_service.go View File

@ -44,7 +44,7 @@ func (tunnel ThresholdTunnel) String() string {
type ThresholdClientConfig struct {
ClientId string
GreenhouseDomain string
GreenhouseAPIKey string
GreenhouseAPIToken string
ServiceToLocalAddrMap *map[string]string
GreenhouseThresholdPort int
CaCertificate string
@ -127,7 +127,7 @@ func (service *ThresholdProvisioningService) GetClientConfig(tenantId int, green
clientConfig := ThresholdClientConfig{
ClientId: clientId,
GreenhouseDomain: greenhouseDomain,
GreenhouseAPIKey: apiKey,
GreenhouseAPIToken: apiKey,
GreenhouseThresholdPort: 9056,
CaCertificate: string(mainCABytes),
ClientTlsKey: string(thresholdKeyBytes),


Loading…
Cancel
Save