Skip to content

Commit 3efcc45

Browse files
committed
unignore pkg/v1/daemon, remove more deprecated stuff
Signed-off-by: Jason Hall <[email protected]>
1 parent 6d65ad8 commit 3efcc45

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

.golangci.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ issues:
55
exclude-dirs:
66
- internal
77
- pkg/registry
8-
- pkg/v1/daemon
98
exclude-rules:
109
- path: test # Excludes /test, *_test.go etc.
1110
linters:

pkg/v1/daemon/image.go

-2
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,6 @@ func (i *image) computeConfigFile(inspect api.ImageInspect) (*v1.ConfigFile, err
285285
return &v1.ConfigFile{
286286
Architecture: inspect.Architecture,
287287
Author: inspect.Author,
288-
Container: inspect.Container,
289288
Created: v1.Time{Time: created},
290289
DockerVersion: inspect.DockerVersion,
291290
History: history,
@@ -324,7 +323,6 @@ func (i *image) computeImageConfig(config *container.Config) v1.Config {
324323
WorkingDir: config.WorkingDir,
325324
ArgsEscaped: config.ArgsEscaped,
326325
NetworkDisabled: config.NetworkDisabled,
327-
MacAddress: config.MacAddress,
328326
StopSignal: config.StopSignal,
329327
Shell: config.Shell,
330328
}

0 commit comments

Comments
 (0)