Skip to content

Commit

Permalink
chore: remove repetitive words (#17464)
Browse files Browse the repository at this point in the history
Signed-off-by: avoidalone <wuguangdong@outlook.com>
Co-authored-by: pasha-codefresh <pavel@codefresh.io>
  • Loading branch information
avoidalone and pasha-codefresh authored Mar 11, 2024
1 parent 9b96570 commit 085ed0f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hack/installers/install-codegen-go-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ mkdir -p $GOBIN
#go_mod_install github.com/gogo/protobuf/protoc-gen-gogo
go_mod_install github.com/gogo/protobuf/protoc-gen-gogofast

# protoc-gen-grpc-gateway is used to build <service>.pb.gw.go files from from .proto files
# protoc-gen-grpc-gateway is used to build <service>.pb.gw.go files from .proto files
go_mod_install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway

# # protoc-gen-swagger is used to build swagger.json
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/fixture/applicationsets/utils/fixture.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func GetE2EFixtureK8sClient() *E2EFixtureK8sClient {
return internalClientVars
}

// EnsureCleanSlate ensures that the Kubernetes resources on the cluster are are in a 'clean' state, before a test is run.
// EnsureCleanSlate ensures that the Kubernetes resources on the cluster are in a 'clean' state, before a test is run.
func EnsureCleanState(t *testing.T) {

start := time.Now()
Expand Down
2 changes: 1 addition & 1 deletion util/webhook/webhook_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ func Test_getWebUrlRegex(t *testing.T) {
{true, "https://example.com/org/repo", "git@example.com:org/repo", "git without protocol should match"},
{true, "https://example.com/org/repo", "user@example.com:org/repo", "git with non-git username shout match"},
{true, "https://example.com/org/repo", "ssh://git@example.com/org/repo", "git with protocol should match"},
{true, "https://example.com/org/repo", "ssh://git@example.com:22/org/repo", "git with port number should should match"},
{true, "https://example.com/org/repo", "ssh://git@example.com:22/org/repo", "git with port number should match"},
{true, "https://example.com:443/org/repo", "ssh://git@example.com:22/org/repo", "https and ssh w/ different port numbers should match"},
{true, "https://example.com/org/repo", "ssh://user-name@example.com/org/repo", "valid usernames with hyphens in repo should match"},
{false, "https://example.com/org/repo", "ssh://-user-name@example.com/org/repo", "invalid usernames with hyphens in repo should not match"},
Expand Down

0 comments on commit 085ed0f

Please sign in to comment.