Fix struct names (#1494)

Signed-off-by: coderwander <770732124@qq.com>
This commit is contained in:
coderwander 2024-04-25 14:15:46 +08:00 committed by GitHub
parent 4abe323003
commit c59d95ba0d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ import (
"github.com/mitchellh/colorstring"
)
// ColoredUi is a Ui implementation that colors its output according
// ColorizeUi is a Ui implementation that colors its output according
// to the given color schemes for the given type of output.
type ColorizeUi struct {
Colorize *colorstring.Colorize

View File

@ -15,7 +15,7 @@ import (
"github.com/opentofu/opentofu/internal/tfdiags"
)
// ProvidersCommand is a Command implementation that prints out information
// ProvidersSchemaCommand is a Command implementation that prints out information
// about the providers used in the current configuration/state.
type ProvidersSchemaCommand struct {
Meta

View File

@ -68,7 +68,7 @@ func NewResource(addr addrs.ResourceInstance) *Resource {
return ret
}
// ResourceKind specifies what kind of instance we're working with, whether
// ResourceFlag specifies what kind of instance we're working with, whether
// its a primary instance, a tainted instance, or an orphan.
type ResourceFlag byte