Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Mengyang He committed Jun 16, 2024
1 parent ee4cdcc commit 3141e6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions noc/standalone/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ func (m *TrafficMsg) Meta() *sim.MsgMeta {

// Clone returns cloned TrafficMsg
func (m *TrafficMsg) Clone() sim.Msg {
clone_msg := NewTrafficMsg(m.Src, m.Dst, m.TrafficBytes)
cloneMsg := NewTrafficMsg(m.Src, m.Dst, m.TrafficBytes)

return clone_msg
return cloneMsg
}

// NewTrafficMsg creates a new traffic message
Expand Down

0 comments on commit 3141e6e

Please sign in to comment.