Skip to content

Commit

Permalink
Merge pull request #2081 from opengovern/fix-add-linode
Browse files Browse the repository at this point in the history
fix: fix providerID in linodeAccount
  • Loading branch information
artaasadi authored Nov 29, 2024
2 parents c8c3c68 + af33e66 commit 1777c31
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"github.com/opengovern/opencomply/services/integration/integration-type/linode-account/discovery"
"github.com/opengovern/opencomply/services/integration/integration-type/linode-account/healthcheck"
"github.com/opengovern/opencomply/services/integration/models"
"strconv"
)

type OpenAIProjectIntegration struct{}
Expand Down Expand Up @@ -66,7 +67,7 @@ func (i *OpenAIProjectIntegration) DiscoverIntegrations(jsonData []byte) ([]mode
return nil, err
}
integrations = append(integrations, models.Integration{
ProviderID: string(rune(account.ID)),
ProviderID: strconv.Itoa(account.ID),
Name: account.Username,
Labels: integrationLabelsJsonb,
})
Expand Down

0 comments on commit 1777c31

Please sign in to comment.