Remove unnecessary linting exclusions

This commit is contained in:
Romain
2022-10-14 18:52:08 +02:00
committed by GitHub
parent e9de061b84
commit 996eccf5b7
3 changed files with 12 additions and 52 deletions

View File

@@ -47,12 +47,6 @@ func nodeIP(ip string) func(*docker.ContainerJSON) {
}
}
func labels(labels map[string]string) func(*docker.ContainerJSON) {
return func(c *docker.ContainerJSON) {
c.Config.Labels = labels
}
}
func ports(portMap nat.PortMap) func(*docker.ContainerJSON) {
return func(c *docker.ContainerJSON) {
c.NetworkSettings.NetworkSettingsBase.Ports = portMap