diff --git a/info/v1/container.go b/info/v1/container.go index 59823824..26e85e15 100644 --- a/info/v1/container.go +++ b/info/v1/container.go @@ -508,19 +508,10 @@ const ( // Extra information about an event. Only one type will be set. type EventData struct { - // Information about a container creation event. - Created *CreatedEventData `json:"created,omitempty"` - // Information about an OOM kill event. OomKill *OomKillEventData `json:"oom,omitempty"` } -// Information related to a container creation event. -type CreatedEventData struct { - // Spec of the container at creation. - Spec ContainerSpec `json:"spec"` -} - // Information related to an OOM kill instance type OomKillEventData struct { // process id of the killed process diff --git a/manager/manager.go b/manager/manager.go index f7c8e92b..f4f348d3 100644 --- a/manager/manager.go +++ b/manager/manager.go @@ -707,11 +707,6 @@ func (m *manager) createContainer(containerName string) error { ContainerName: contRef.Name, Timestamp: contSpec.CreationTime, EventType: info.EventContainerCreation, - EventData: info.EventData{ - Created: &info.CreatedEventData{ - Spec: contSpec, - }, - }, } err = m.eventHandler.AddEvent(newEvent) if err != nil {