mirror of
https://github.com/vmorganp/Lazytainer.git
synced 2025-12-31 01:57:25 +01:00
formatting
This commit is contained in:
@@ -25,7 +25,7 @@ type LazyGroup struct {
|
||||
netInterface string // which network interface to watch traffic on. By default this is eth0 but can sometimes vary
|
||||
pollRate uint16 // how frequently to poll traffic statistics
|
||||
ports []uint16 // list of ports, which happens to also be a 16 bit range, how convenient!
|
||||
sleepMethod string // whether to stop or pause the container
|
||||
sleepMethod string // whether to stop or pause the container
|
||||
}
|
||||
|
||||
func (lg LazyGroup) MainLoop() {
|
||||
|
||||
@@ -138,7 +138,7 @@ func configureFromLabels() map[string]LazyGroup {
|
||||
netInterface: netInterface,
|
||||
pollRate: pollRate,
|
||||
ports: ports,
|
||||
sleepMethod: sleepMethod,
|
||||
sleepMethod: sleepMethod,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user