Skip to content

Commit

Permalink
Fix duplicate the usages (#3283)
Browse files Browse the repository at this point in the history
Signed-off-by: Bogdan Drutu <[email protected]>
  • Loading branch information
bogdandrutu authored May 25, 2021
1 parent a817b0f commit c8e28f2
Show file tree
Hide file tree
Showing 15 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion config/internal/configsource/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ type (
// field_0: ${file:/var/secret.txt} # Injects the data from a config sourced named "file" using the selector "/var/secret.txt".
// field_1: ${file}:/var/secret.txt # Expands the environment variable "file" and adds the suffix ":/var/secret.txt" to it.
//
// If the the character following the '$' is in the set {'*', '#', '$', '@', '!', '?', '-', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'}
// If the character following the '$' is in the set {'*', '#', '$', '@', '!', '?', '-', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'}
// the code will consider it to be the name of an environment variable to expand, or config source if followed by ':'. Do not use any of these
// characters as the first char on the name of a config source or an environment variable (even if allowed by the system) to avoid unexpected
// results.
Expand Down
6 changes: 3 additions & 3 deletions exporter/otlphttpexporter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ The following settings are required:
The following settings can be optionally configured:

- `traces_endpoint` (no default): The target URL to send trace data to (e.g.: https://example.com:55681/v1/traces).
If this setting is present the the `endpoint` setting is ignored for traces.
If this setting is present the `endpoint` setting is ignored for traces.
- `metrics_endpoint` (no default): The target URL to send metric data to (e.g.: https://example.com:55681/v1/metrics).
If this setting is present the the `endpoint` setting is ignored for metrics.
If this setting is present the `endpoint` setting is ignored for metrics.
- `logs_endpoint` (no default): The target URL to send log data to (e.g.: https://example.com:55681/v1/logs).
If this setting is present the the `endpoint` setting is ignored logs.
If this setting is present the `endpoint` setting is ignored logs.

- `insecure` (default = false): when set to true disables verifying the server's
certificate chain and host name. The connection is still encrypted but server identity
Expand Down
2 changes: 1 addition & 1 deletion extension/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ service:
## <a name="health_check"></a>Health Check
Health Check extension enables an HTTP url that can be probed to check the
status of the the OpenTelemetry Collector. This extension can be used as a
status of the OpenTelemetry Collector. This extension can be used as a
liveness and/or readiness probe on Kubernetes.
The following settings are required:
Expand Down
2 changes: 1 addition & 1 deletion extension/healthcheckextension/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Health Check

Health Check extension enables an HTTP url that can be probed to check the
status of the the OpenTelemetry Collector. This extension can be used as a
status of the OpenTelemetry Collector. This extension can be used as a
liveness and/or readiness probe on Kubernetes.

The following settings are required:
Expand Down
2 changes: 1 addition & 1 deletion processor/memorylimiter/internal/cgroups/cgroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// Keep the the original Uber license.
// Keep the original Uber license.

// Copyright (c) 2017 Uber Technologies, Inc.
//
Expand Down
2 changes: 1 addition & 1 deletion processor/memorylimiter/internal/cgroups/cgroup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// Keep the the original Uber license.
// Keep the original Uber license.

// Copyright (c) 2017 Uber Technologies, Inc.
//
Expand Down
2 changes: 1 addition & 1 deletion processor/memorylimiter/internal/cgroups/cgroups.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// Keep the the original Uber license.
// Keep the original Uber license.

// Copyright (c) 2017 Uber Technologies, Inc.
//
Expand Down
2 changes: 1 addition & 1 deletion processor/memorylimiter/internal/cgroups/cgroups_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// Keep the the original Uber license.
// Keep the original Uber license.

// Copyright (c) 2017 Uber Technologies, Inc.
//
Expand Down
2 changes: 1 addition & 1 deletion processor/memorylimiter/internal/cgroups/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// Keep the the original Uber license.
// Keep the original Uber license.

// Copyright (c) 2017 Uber Technologies, Inc.
//
Expand Down
2 changes: 1 addition & 1 deletion processor/memorylimiter/internal/cgroups/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// Keep the the original Uber license.
// Keep the original Uber license.

// Copyright (c) 2017 Uber Technologies, Inc.
//
Expand Down
2 changes: 1 addition & 1 deletion processor/memorylimiter/internal/cgroups/mountpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// Keep the the original Uber license.
// Keep the original Uber license.

// Copyright (c) 2017 Uber Technologies, Inc.
//
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// Keep the the original Uber license.
// Keep the original Uber license.

// Copyright (c) 2017 Uber Technologies, Inc.
//
Expand Down
2 changes: 1 addition & 1 deletion processor/memorylimiter/internal/cgroups/subsys.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// Keep the the original Uber license.
// Keep the original Uber license.

// Copyright (c) 2017 Uber Technologies, Inc.
//
Expand Down
2 changes: 1 addition & 1 deletion processor/memorylimiter/internal/cgroups/subsys_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// Keep the the original Uber license.
// Keep the original Uber license.

// Copyright (c) 2017 Uber Technologies, Inc.
//
Expand Down
2 changes: 1 addition & 1 deletion processor/memorylimiter/internal/cgroups/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// Keep the the original Uber license.
// Keep the original Uber license.

// Copyright (c) 2017 Uber Technologies, Inc.
//
Expand Down

0 comments on commit c8e28f2

Please sign in to comment.