Skip to content

Commit

Permalink
chore: remove repetitive words
Browse files Browse the repository at this point in the history
Signed-off-by: occupyhabit <wangmengjiao@outlook.com>
  • Loading branch information
occupyhabit authored and ashutosh-narkar committed Mar 25, 2024
1 parent 143a8e6 commit d6c8c1b
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4910,7 +4910,7 @@ large or mixed workspaces.

- Status API messages now include a dump of OPA's Prometheus metric
registry. This increases the Status API message size significantly
(~6KB). If you are indexing the the Status API messages, consider
(~6KB). If you are indexing the Status API messages, consider
removing the metrics. Nonetheless, for Status API implementations,
having access to the Prometheus metrics is important for monitoring
the health of the OPAs.
Expand Down
2 changes: 1 addition & 1 deletion ast/policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -1234,7 +1234,7 @@ func (expr *Expr) Equal(other *Expr) bool {
//
// 1. Declarations are always less than other expressions.
// 2. Preceding expression (by Index) is always less than the other expression.
// 3. Non-negated expressions are always less than than negated expressions.
// 3. Non-negated expressions are always less than negated expressions.
// 4. Single term expressions are always less than built-in expressions.
//
// Otherwise, the expression terms are compared normally. If both expressions
Expand Down
2 changes: 1 addition & 1 deletion docs/website/scripts/live-blocks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on page load.
## Scripts
`package.json` contains a bunch of scripts, in some cases it calls things in the `live-blocks/scripts/` folder.
The most important of these is `inject` which calls a bunch of other scripts to add live docs functionality
to an otherwise fully built site. All of these scripts can be run from the the `docs/` folder using `make live-blocks-<script name>`
to an otherwise fully built site. All of these scripts can be run from the `docs/` folder using `make live-blocks-<script name>`
or from the root of this repository using `make docs-live-blocks-<script name>`.

You probably want to run `install-deps` to automatically install JS dependencies. When testing, you might want to use something like
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func init() {
*
* D) When comparing "between" a set of fields and a referenced fragment, first
* a comparison is made between each field in the original set of fields and
* each field in the the referenced set of fields.
* each field in the referenced set of fields.
*
* E) Also, if any fragment is referenced in the referenced selection set,
* then a comparison is made "between" the original set of fields and the
Expand Down
2 changes: 1 addition & 1 deletion server/writer/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func ErrorAuto(w http.ResponseWriter, err error) {
}

// ErrorString writes a response with specified status, code, and message set to
// the the err's string representation.
// the err's string representation.
func ErrorString(w http.ResponseWriter, status int, code string, err error) {
Error(w, status, types.NewErrorV1(code, err.Error()))
}
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/oci/oci_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func TestEnablePrintStatementsForBundles(t *testing.T) {
buf := SafeBuffer{}

logger := logging.New()
logger.SetLevel(logging.Debug) // set to debug to see the the bundle download skip message
logger.SetLevel(logging.Debug) // set to debug to see the bundle download skip message
logger.SetOutput(&buf)
params.Logger = logger

Expand Down
2 changes: 1 addition & 1 deletion util/hashmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func (h *HashMap) Get(k T) (T, bool) {
return nil, false
}

// Delete removes the the key k.
// Delete removes the key k.
func (h *HashMap) Delete(k T) {
hash := h.hash(k)
var prev *hashEntry
Expand Down

0 comments on commit d6c8c1b

Please sign in to comment.