Skip to content

Commit

Permalink
Fix golint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tylertreat committed Nov 12, 2014
1 parent 45e8871 commit 426f5d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion throttler/ipfw.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (i *ipfwThrottler) check() string {
return ipfwCheck
}

func (d *ipfwThrottler) buildConfigCommand(config *Config) string {
func (i *ipfwThrottler) buildConfigCommand(config *Config) string {
cmd := ipfwConfig
if config.Latency > 0 {
latencyStr := strconv.Itoa(config.Latency)
Expand Down
1 change: 1 addition & 0 deletions throttler/throttler.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
)

const (
// Start is the mode to setup packet filter rules.
Start = "start"
stop = "stop"
any = "any"
Expand Down

0 comments on commit 426f5d6

Please sign in to comment.