Skip to content

Commit a2de50a

Browse files
committed
changed a function name
1 parent 0edacc4 commit a2de50a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

detectors/gcp/cloud-function.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ const (
3535
gcpFunctionNameKey = "K_SERVICE"
3636
)
3737

38-
//NewResourceDetector will return an implementation for gcp cloud function resource detector
39-
func NewResourceDetector() resource.Detector {
38+
//NewCloudFunction will return an implementation for gcp cloud function resource detector
39+
func NewCloudFunction() resource.Detector {
4040
return &CloudFunction{
4141
client: &gcpClientImpl{},
4242
}

0 commit comments

Comments
 (0)