Skip to content

Commit

Permalink
Change showImageStats nomenclature from concrete tags to simple tags (d…
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSimons authored Jul 2, 2019
1 parent ae98840 commit cd50f2f
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ public override Task ExecuteAsync()
private string FormatBaseImageStats(
string baseImage,
object dependentImages,
object dependentConcreteTags,
object dependentSimpleTags,
object dependentSharedTags,
object dependentTags)
=> $"{baseImage,-50} {dependentImages,17} {dependentConcreteTags,24} {dependentSharedTags,21} {dependentTags,20}";
=> $"{baseImage,-50} {dependentImages,17} {dependentSimpleTags,22} {dependentSharedTags,21} {dependentTags,20}";

private void LogBaseImageStats(PlatformInfo[] platforms)
{
Expand All @@ -48,7 +48,7 @@ private void LogBaseImageStats(PlatformInfo[] platforms)
FormatBaseImageStats(
$"External Base Images ({externalBaseImages.Count()})",
"Dependent Images",
"Dependent Concrete Tags",
"Dependent Simple Tags",
"Dependent Shared Tags",
"Total Dependent Tags"));

Expand Down Expand Up @@ -83,11 +83,11 @@ private void LogGeneralStats(PlatformInfo[] platforms)
TagInfo[] undocumentedSharedTags = sharedTags.Where(tag => tag.Model.IsUndocumented).ToArray();

Logger.WriteMessage($"Total Unique Images: {platforms.Length}");
Logger.WriteMessage($"Total Concrete Tags: {platformTags.Length}");
Logger.WriteMessage($"Total Simple Tags: {platformTags.Length}");

if (undocumentedPlatformTags.Length > 0)
{
Logger.WriteMessage($" Total Undocumented Concrete Tags: {undocumentedPlatformTags.Length}");
Logger.WriteMessage($" Total Undocumented Simple Tags: {undocumentedPlatformTags.Length}");
}

Logger.WriteMessage($"Total Shared Tags: {sharedTags.Length}");
Expand Down

0 comments on commit cd50f2f

Please sign in to comment.