File: go-systemd_17.patch

package info (click to toggle)
golang-github-appc-cni 0.4.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 804 kB
  • sloc: sh: 177; makefile: 6
file content (19 lines) | stat: -rw-r--r-- 605 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Origin: upstream, https://github.com/containernetworking/plugins/commit/475fdb8a0aed814458cbcfdf0bdb522a0e2ad2a8
From 475fdb8a0aed814458cbcfdf0bdb522a0e2ad2a8 Mon Sep 17 00:00:00 2001
From: Luca Bruno <luca.bruno@coreos.com>
Date: Mon, 28 May 2018 12:35:04 +0000
Subject: [PATCH] plugins/dhcp: update to new go-systemd

--- a/plugins/ipam/dhcp/daemon.go
+++ b/plugins/ipam/dhcp/daemon.go
@@ -115,9 +115,9 @@
 	d.leases[contID+netName] = l
 }
 
 func getListener() (net.Listener, error) {
-	l, err := activation.Listeners(true)
+	l, err := activation.Listeners()
 	if err != nil {
 		return nil, err
 	}