Skip to content

Commit

Permalink
PLT-647: Fixing PCG account check for public clouds.
Browse files Browse the repository at this point in the history
  • Loading branch information
nikchern committed Nov 26, 2023
1 parent 98d2d74 commit 83613ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/private_cloud_gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ func (h *V1Client) GetPairingCode(cloudType string) (string, error) {
}

func (h *V1Client) CheckPCG(PcgId string) error {
if PcgId == "" {
return nil // no pcg to check
}
pcg, err := h.GetPCGById(PcgId)
if err != nil {
return err
Expand Down

0 comments on commit 83613ea

Please sign in to comment.