Skip to content

Commit

Permalink
Update docstring for parseTwoPartID
Browse files Browse the repository at this point in the history
The docstring should refer to the function's argument names and they
were changed from "a, b" to "left, right".

Signed-off-by: Kevin P. Fleming <kpfleming@bloomberg.net>
  • Loading branch information
kpfleming committed Jan 23, 2020
1 parent 99a1334 commit 95d56e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func validateValueFunc(values []string) schema.SchemaValidateFunc {
}
}

// return the pieces of id `a:b` as a, b
// return the pieces of id `left:right` as left, right
func parseTwoPartID(id, left, right string) (string, string, error) {
parts := strings.SplitN(id, ":", 2)
if len(parts) != 2 {
Expand Down

0 comments on commit 95d56e5

Please sign in to comment.