Skip to content

Commit

Permalink
Merge pull request #2911 from hashicorp/b/nit-comment
Browse files Browse the repository at this point in the history
tools/generator-go-sdk: fixing the Raw{DiscriminatedType}Impl comment
  • Loading branch information
tombuildsstuff authored Sep 18, 2023
2 parents 4e4fced + 5d5ef83 commit fed9300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/generator-go-sdk/generator/templater_models.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (c modelsTemplater) structCode(data ServiceGeneratorData) (*string, error)
type %[1]s interface {
}
// RawModeOfTransitImpl is returned when the Discriminated Value
// Raw%[1]sImpl is returned when the Discriminated Value
// doesn't match any of the defined types
// NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround)
// and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
Expand Down

0 comments on commit fed9300

Please sign in to comment.