mirror of
https://github.com/opentofu/opentofu.git
synced 2026-02-18 18:17:54 -05:00
fix: typos in comments (#3691)
Signed-off-by: Yohei Yamamoto <yhymmt123@gmail.com>
This commit is contained in:
parent
2e09323694
commit
4a86a1233c
6 changed files with 6 additions and 6 deletions
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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{
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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
|
||||
)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue