Skip to content

Commit

Permalink
Merge pull request #124 from isimluk/cloud-string
Browse files Browse the repository at this point in the history
  • Loading branch information
redhatrises committed Oct 8, 2021
2 parents 3cce6d9 + a808fd7 commit 98cc470
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions falcon/cloud.go
Expand Up @@ -53,3 +53,18 @@ func (c CloudType) Host() string {
return "api.laggar.gcw.crowdstrike.com"
}
}

func (c CloudType) String() string {
switch c {
case CloudUs1:
return "us-1"
case CloudUs2:
return "us-2"
case CloudEu1:
return "eu-1"
case CloudUsGov1:
return "us-gov-1"
default:
return "UNKNOWN FALCON CLOUD REGION"
}
}

0 comments on commit 98cc470

Please sign in to comment.