fix: typos in comments (#3691)

Signed-off-by: Yohei Yamamoto <yhymmt123@gmail.com>
This commit is contained in:
yy 2026-01-19 22:46:12 +09:00 committed by GitHub
parent 2e09323694
commit 4a86a1233c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 6 additions and 6 deletions

View file

@ -16,7 +16,7 @@ import (
"github.com/opentofu/opentofu/internal/backend"
)
// IntegrationOutputWriter is an interface used to to write output tailored for
// IntegrationOutputWriter is an interface used to write output tailored for
// Terraform Cloud integrations
type IntegrationOutputWriter interface {
End()

View file

@ -82,7 +82,7 @@ var _ Locker = (*locker)(nil)
// Create a new Locker.
// This Locker uses state.LockWithContext to retry the lock until the provided
// timeout is reached, or the context is canceled. Lock progress will be be
// timeout is reached, or the context is canceled. Lock progress will be
// reported to the user through the provided UI.
func NewLocker(timeout time.Duration, view views.StateLocker) Locker {
return &locker{

View file

@ -1018,7 +1018,7 @@ func TestPlan_resource_variable_inputs(t *testing.T) {
// Because this potential problem is in the collaboration between three separate
// subsystems, we test it here so we can exercise all three in a relatively
// realistic way. This is therefore an integration test of these three
// components working together, rather than a test of of the plan command
// components working together, rather than a test of the plan command
// specifically.
func TestPlan_withInvalidReferencesInTry(t *testing.T) {
td := t.TempDir()

View file

@ -48,7 +48,7 @@ var (
// enable ssh keepalive probes by default
keepAliveInterval = 2 * time.Second
// max time to wait for for a KeepAlive response before considering the
// max time to wait for a KeepAlive response before considering the
// connection to be dead.
maxKeepAliveDelay = 120 * time.Second
)

View file

@ -47,7 +47,7 @@ func (r *MapFieldReader) readMap(k string, schema *Schema) (FieldReadResult, err
// If the name of the map field is directly in the map with an
// empty string, it means that the map is being deleted, so mark
// that is is set.
// that is set.
if v, ok := r.Map.Access(k); ok && v == "" {
resultSet = true
}

View file

@ -1076,7 +1076,7 @@ func assertDiagnosticsMatch(t testing.TB, got, want tfdiags.Diagnostics) {
}
}
// logDiagnostics is a test helper that logs the given diagnostics to to the
// logDiagnostics is a test helper that logs the given diagnostics to the
// given testing.T using t.Log, in a way that is hopefully useful in debugging
// a test. It does not generate any errors or fail the test. See
// assertNoDiagnostics and assertNoErrors for more specific helpers that can