Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Commit

Permalink
Fix idler compile issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kraman committed Apr 1, 2014
1 parent 20d33bd commit 4ccf5e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion idler/idler.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func (idler *Idler) Run() {
fmt.Fprintf(w, "[%v] Packet counts:\n\tContainer\tActive?\tIdled?\tPackets\n", time.Now().Format(time.RFC3339))
iptables.ResetPacketCount()
for id, pkts := range cpkt {
started, err := containers.ReadContainerState(id)
started, err := id.UnitStartOnBoot()
if err != nil {
fmt.Printf("Error reading container state for %v: %v\n", id, err)
}
Expand Down

0 comments on commit 4ccf5e4

Please sign in to comment.