Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Commit 799f620

Browse files
committed
do not diff image sha or hostname in metadata
1 parent e4a55a7 commit 799f620

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

differs/metadata_diff.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ func getMetadataList(image pkgutil.Image) ([]string, error) {
8080
}
8181
c := configFile.Config
8282
return []string{
83-
fmt.Sprintf("Hostname: %s", c.Hostname),
8483
fmt.Sprintf("Domainname: %s", c.Domainname),
8584
fmt.Sprintf("User: %s", c.User),
8685
fmt.Sprintf("AttachStdin: %t", c.AttachStdin),
@@ -93,7 +92,6 @@ func getMetadataList(image pkgutil.Image) ([]string, error) {
9392
fmt.Sprintf("Env: %s", strings.Join(c.Env, ",")),
9493
fmt.Sprintf("Cmd: %s", strings.Join(c.Cmd, ",")),
9594
fmt.Sprintf("ArgsEscaped: %t", c.ArgsEscaped),
96-
fmt.Sprintf("Image: %s", c.Image),
9795
fmt.Sprintf("Volumes: %v", pkgutil.SortMap(c.Volumes)),
9896
fmt.Sprintf("Workdir: %s", c.WorkingDir),
9997
fmt.Sprintf("Entrypoint: %s", strings.Join(c.Entrypoint, ",")),

0 commit comments

Comments
 (0)