Skip to content

Commit

Permalink
Merge pull request harness#3342 from gopherclub/master
Browse files Browse the repository at this point in the history
remove repetitive words
  • Loading branch information
TP Honey committed Aug 9, 2023
2 parents b69bd61 + 60e453e commit 378d8a5
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion core/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ type (
}

// StatusService sends the commit status to an external
// external source code management service (e.g. GitHub).
// source code management service (e.g. GitHub).
StatusService interface {
Send(ctx context.Context, user *User, req *StatusInput) error
}
Expand Down
2 changes: 1 addition & 1 deletion handler/api/repos/builds/find.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
)

// HandleFind returns an http.HandlerFunc that writes json-encoded
// build details to the the response body.
// build details to the response body.
func HandleFind(
repos core.RepositoryStore,
builds core.BuildStore,
Expand Down
3 changes: 2 additions & 1 deletion handler/api/repos/crons/find.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by the Drone Non-Commercial License
// that can be found in the LICENSE file.

//go:build !oss
// +build !oss

package crons
Expand All @@ -16,7 +17,7 @@ import (
)

// HandleFind returns an http.HandlerFunc that writes json-encoded
// cronjob details to the the response body.
// cronjob details to the response body.
func HandleFind(
repos core.RepositoryStore,
crons core.CronStore,
Expand Down
2 changes: 1 addition & 1 deletion handler/api/repos/enable.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (

// FEATURE FLAG enables a static secret value used to sign
// incoming requests routed through a proxy. This was implemented
// based on feedback from @chiraggadasc and and should not be
// based on feedback from @chiraggadasc and should not be
// removed until we have a permanent solution in place.
var staticSigner = os.Getenv("DRONE_FEATURE_SERVER_PROXY_SECRET")

Expand Down
3 changes: 2 additions & 1 deletion handler/api/repos/secrets/find.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by the Drone Non-Commercial License
// that can be found in the LICENSE file.

//go:build !oss
// +build !oss

package secrets
Expand All @@ -16,7 +17,7 @@ import (
)

// HandleFind returns an http.HandlerFunc that writes json-encoded
// secret details to the the response body.
// secret details to the response body.
func HandleFind(
repos core.RepositoryStore,
secrets core.SecretStore,
Expand Down
3 changes: 2 additions & 1 deletion handler/api/secrets/find.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by the Drone Non-Commercial License
// that can be found in the LICENSE file.

//go:build !oss
// +build !oss

package secrets
Expand All @@ -16,7 +17,7 @@ import (
)

// HandleFind returns an http.HandlerFunc that writes json-encoded
// secret details to the the response body.
// secret details to the response body.
func HandleFind(secrets core.GlobalSecretStore) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
var (
Expand Down
3 changes: 2 additions & 1 deletion handler/api/template/find.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Use of this source code is governed by the Drone Non-Commercial License
// that can be found in the LICENSE file.

//go:build !oss
// +build !oss

package template
Expand All @@ -16,7 +17,7 @@ import (
)

// HandleFind returns an http.HandlerFunc that writes json-encoded
// template details to the the response body.
// template details to the response body.
func HandleFind(templateStore core.TemplateStore) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
var (
Expand Down
2 changes: 1 addition & 1 deletion handler/api/users/find.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
)

// HandleFind returns an http.HandlerFunc that writes json-encoded
// user account information to the the response body.
// user account information to the response body.
func HandleFind(users core.UserStore) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
login := chi.URLParam(r, "user")
Expand Down

0 comments on commit 378d8a5

Please sign in to comment.