Skip to content

Commit

Permalink
add comments for IsExternalProverNameMatch
Browse files Browse the repository at this point in the history
  • Loading branch information
yiweichi committed Jan 14, 2025
1 parent 1f05c6e commit 1e63677
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions coordinator/internal/utils/prover_name.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ package utils

import "strings"

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

0 comments on commit 1e63677

Please sign in to comment.