Skip to content

Commit f1ec108

Browse files
committed
doc: provide code comment on how to handle autodiscover in FalconContainerSensorImageURI
1 parent b5578aa commit f1ec108

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

falcon/containers.go

+2
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ func FalconContainerUploadURI(falconCloud CloudType) string {
3838
}
3939

4040
// FalconContainerSensorImageURI returns a URI for downloading a container sensor image. Defaults to the falcon-sensor image.
41+
// When the Falcon Cloud CloudType is set to CloudAutoDiscover, be sure to provide the results of ApiConfig.Cloud after the client
42+
// has been initialized to ensure the correct CloudType is used and not CloudAutoDiscover.
4143
func FalconContainerSensorImageURI(falconCloud CloudType, sensorType SensorType) string {
4244
switch sensorType {
4345
case SidecarSensor:

0 commit comments

Comments
 (0)