File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -118,6 +118,7 @@ func printImageTree(dockerCLI command.Cli, images []topImage) error {
118118 width = 20
119119 }
120120
121+ warningColor := aec .LightYellowF
121122 headerColor := aec .NewBuilder (aec .DefaultF , aec .Bold ).ANSI
122123 topNameColor := aec .NewBuilder (aec .BlueF , aec .Underline , aec .Bold ).ANSI
123124 normalColor := aec .NewBuilder (aec .DefaultF ).ANSI
@@ -127,8 +128,11 @@ func printImageTree(dockerCLI command.Cli, images []topImage) error {
127128 topNameColor = noColor {}
128129 normalColor = noColor {}
129130 greenColor = noColor {}
131+ warningColor = noColor {}
130132 }
131133
134+ _ , _ = fmt .Fprintln (out , warningColor .Apply ("WARNING: This is an experimental feature. The output may change and shouldn't be depended on." ))
135+
132136 columns := []imgColumn {
133137 {
134138 Title : "Image" ,
You can’t perform that action at this time.
0 commit comments