Skip to content

Commit efe0091

Browse files
committed
missing comment
1 parent 00195d9 commit efe0091

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

internal/surfer/gcloud/provider/method.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,8 @@ func FindResourceMessage(outputType *api.Message) *api.Message {
202202
return nil
203203
}
204204

205+
// IsSingletonResourceMethod determines whether a resource is a singleton.
206+
// It checks if the resource associated with the method is a singleton.
205207
func IsSingletonResourceMethod(method *api.Method, model *api.API) bool {
206208
if method == nil {
207209
return false

internal/surfer/gcloud/provider/resource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ func GetResourceForMethod(method *api.Method, model *api.API) *api.Resource {
196196
return nil
197197
}
198198

199-
// IsSingletonResource determines whether a resource is a singleton.
199+
// isSingletonResource determines whether a resource is a singleton.
200200
// It checks if any of the resource's canonical patterns end in a literal segment
201201
// or contain two adjacent literal segments.
202202
func isSingletonResource(resource *api.Resource) bool {

0 commit comments

Comments
 (0)