Skip to content

Commit e754ea2

Browse files
committed
Update code comment
1 parent 6dd1926 commit e754ea2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

internal/command/views/init.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,11 @@ func (v *InitJSON) Output(messageCode InitMessageCode, params ...any) {
100100
// @module as "terraform.ui" (See NewJSONView)
101101
// @timestamp formatted in the default way
102102
//
103-
// In the function below we annotate with extra data:
104-
// "type":"init_output"
105-
// "message_code":"<value>"
103+
// In the method below we:
104+
// * Set @message as the first argument value
105+
// * Annotate with extra data:
106+
// "type":"init_output"
107+
// "message_code":"<value>"
106108
v.view.log.Info(
107109
preppedMessage,
108110
"type", "init_output",

0 commit comments

Comments
 (0)