Merge pull request #28806 from hashicorp/alisdair/remove-json-drift-summary
command/views: Remove unused drift summary message
This commit is contained in:
commit
52591ba5e9
|
@ -11,7 +11,6 @@ const (
|
||||||
// Operation results
|
// Operation results
|
||||||
MessagePlannedChange MessageType = "planned_change"
|
MessagePlannedChange MessageType = "planned_change"
|
||||||
MessageChangeSummary MessageType = "change_summary"
|
MessageChangeSummary MessageType = "change_summary"
|
||||||
MessageDriftSummary MessageType = "drift_summary"
|
|
||||||
MessageOutputs MessageType = "outputs"
|
MessageOutputs MessageType = "outputs"
|
||||||
|
|
||||||
// Hook-driven messages
|
// Hook-driven messages
|
||||||
|
|
|
@ -103,14 +103,6 @@ func (v *JSONView) ChangeSummary(cs *json.ChangeSummary) {
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (v *JSONView) DriftSummary(cs *json.ChangeSummary) {
|
|
||||||
v.log.Info(
|
|
||||||
cs.String(),
|
|
||||||
"type", json.MessageDriftSummary,
|
|
||||||
"changes", cs,
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (v *JSONView) Hook(h json.Hook) {
|
func (v *JSONView) Hook(h json.Hook) {
|
||||||
v.log.Info(
|
v.log.Info(
|
||||||
h.String(),
|
h.String(),
|
||||||
|
|
Loading…
Reference in New Issue