Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix function name in comment #33395

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/addrs/move_endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (e *MoveEndpoint) MightUnifyWith(other *MoveEndpoint) bool {
return from != nil && to != nil
}

// ConfigMovable transforms the reciever into a ConfigMovable by resolving it
// ConfigMoveable transforms the reciever into a ConfigMovable by resolving it
// relative to the given base module, which should be the module where
// the MoveEndpoint expression was found.
//
Expand Down
2 changes: 1 addition & 1 deletion internal/backend/local/backend_local.go
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ func (b *Local) interactiveCollectVariables(ctx context.Context, existing map[st
return ret
}

// stubUnsetVariables ensures that all required variables defined in the
// stubUnsetRequiredVariables ensures that all required variables defined in the
// configuration exist in the resulting map, by adding new elements as necessary.
//
// The stubbed value of any additions will be an unknown variable conforming
Expand Down
2 changes: 1 addition & 1 deletion internal/builtin/providers/terraform/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func NewProvider() providers.Interface {
return &Provider{}
}

// GetSchema returns the complete schema for the provider.
// GetProviderSchema returns the complete schema for the provider.
func (p *Provider) GetProviderSchema() providers.GetProviderSchemaResponse {
return providers.GetProviderSchemaResponse{
DataSources: map[string]providers.Schema{
Expand Down
2 changes: 1 addition & 1 deletion internal/legacy/helper/schema/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func (p *Provider) Stopped() bool {
}
}

// StopCh returns a channel that is closed once the provider is stopped.
// StopContext returns a channel that is closed once the provider is stopped.
func (p *Provider) StopContext() context.Context {
p.stopOnce.Do(p.stopInit)

Expand Down
2 changes: 1 addition & 1 deletion internal/providers/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
// Interface represents the set of methods required for a complete resource
// provider plugin.
type Interface interface {
// GetSchema returns the complete schema for the provider.
// GetProviderSchema returns the complete schema for the provider.
GetProviderSchema() GetProviderSchemaResponse

// ValidateProviderConfig allows the provider to validate the configuration.
Expand Down
Loading