Skip to content

Commit d6ca5c8

Browse files
committed
lint
Signed-off-by: Kuromesi <blackfacepan@163.com>
1 parent 4af7598 commit d6ca5c8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pkg/status/api.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,10 +263,6 @@ func (wd WorkloadBpfDump) WithWorkloadPolicies(workloadPolicies []bpfcache.Workl
263263
func (wd WorkloadBpfDump) WithBackends(backends []bpfcache.BackendValue) WorkloadBpfDump {
264264
converted := make([]BpfBackendValue, 0, len(backends))
265265
for _, backend := range backends {
266-
ip := []byte{}
267-
for _, b := range backend.Ip {
268-
ip = append(ip, b)
269-
}
270266
waypointAddr := ""
271267
if backend.WaypointAddr != [16]byte{} {
272268
waypointAddr = nets.IpString(backend.WaypointAddr)

0 commit comments

Comments
 (0)