Skip to content

Commit

Permalink
Add some additional comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
yegle committed Nov 24, 2020
1 parent caefa6a commit 24771d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions detectors/gcp/cloud-run.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ import (

const serviceNamespace = "cloud-run-managed"

// The minimal list of metadata.Client methods we use. Use an interface so we
// can replace it with a fake implementation in the unit test.
type metadataClient interface {
ProjectID() (string, error)
Get(string) (string, error)
Expand Down

0 comments on commit 24771d1

Please sign in to comment.