Skip to content

Commit 1e63677

Browse files
committed
add comments for IsExternalProverNameMatch
1 parent 1f05c6e commit 1e63677

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

coordinator/internal/utils/prover_name.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ package utils
22

33
import "strings"
44

5+
// IsExternalProverNameMatch checks if the local and remote external prover names belong to the same provider.
6+
// It returns true if they do, otherwise false.
57
func IsExternalProverNameMatch(localName, remoteName string) bool {
68
local := strings.Split(localName, "_")
79
remote := strings.Split(remoteName, "_")

0 commit comments

Comments
 (0)