File tree Expand file tree Collapse file tree 1 file changed +12
-14
lines changed Expand file tree Collapse file tree 1 file changed +12
-14
lines changed Original file line number Diff line number Diff line change @@ -124,12 +124,10 @@ func printImageTree(dockerCLI command.Cli, images []topImage) error {
124
124
headerColor := aec .NewBuilder (aec .DefaultF , aec .Bold ).ANSI
125
125
topNameColor := aec .NewBuilder (aec .BlueF , aec .Underline , aec .Bold ).ANSI
126
126
normalColor := aec .NewBuilder (aec .DefaultF ).ANSI
127
- greenColor := aec .NewBuilder (aec .GreenF ).ANSI
128
127
if ! out .IsTerminal () {
129
128
headerColor = noColor {}
130
129
topNameColor = noColor {}
131
130
normalColor = noColor {}
132
- greenColor = noColor {}
133
131
warningColor = noColor {}
134
132
}
135
133
@@ -166,18 +164,18 @@ func printImageTree(dockerCLI command.Cli, images []topImage) error {
166
164
return d .ContentSize
167
165
},
168
166
},
169
- {
170
- Title : "Used" ,
171
- Align : alignCenter ,
172
- Width : 4 ,
173
- Color : & greenColor ,
174
- DetailsValue : func ( d * imageDetails ) string {
175
- if d . Used {
176
- return "✔"
177
- }
178
- return " "
179
- },
180
- },
167
+ // TODO: Needs https://github.com/moby/moby/pull/47501
168
+ // {
169
+ // Title: "Used" ,
170
+ // Align: alignCenter ,
171
+ // Width: 4 ,
172
+ // Color: &greenColor,
173
+ // DetailsValue: func(d *imageDetails) string {
174
+ // if d.Used {
175
+ // return "✔"
176
+ // }
177
+ // return " "
178
+ // },
181
179
}
182
180
183
181
nameWidth := int (width )
You can’t perform that action at this time.
0 commit comments