Skip to content

Commit

Permalink
Update resource_branch.go
Browse files Browse the repository at this point in the history
Switching HasPrefix Parameters
  • Loading branch information
mettke authored Oct 30, 2023
1 parent 1da7547 commit 2cac30b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/provider/resource_branch.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,5 +222,5 @@ func resourceBranchImport(ctx context.Context, d *schema.ResourceData, meta inte
}

func isValidBranchID(s string) bool {
return strings.HasPrefix("br-", s)
return strings.HasPrefix(s, "br-")
}

0 comments on commit 2cac30b

Please sign in to comment.