From c8d9e0b4b07d78d02c2d0324f10d32cd7597e1ed Mon Sep 17 00:00:00 2001 From: Logan Bussell false Date: Fri, 17 May 2024 08:40:48 -0700 Subject: [PATCH] Undo some superfluous changes to make the PR diff smaller --- .../src/Commands/BuildCommand.cs | 1 - .../src/Commands/BuildOptions.cs | 74 ++++++++++--------- .../src/Commands/GetStaleImagesOptions.cs | 43 ++++++----- .../src/Commands/PublishManifestCommand.cs | 3 +- .../src/DockerHelper.cs | 1 + .../tests/Helpers/ManifestServiceHelper.cs | 13 ++-- 6 files changed, 72 insertions(+), 63 deletions(-) diff --git a/src/Microsoft.DotNet.ImageBuilder/src/Commands/BuildCommand.cs b/src/Microsoft.DotNet.ImageBuilder/src/Commands/BuildCommand.cs index 5a75e3da..b4f0e88d 100644 --- a/src/Microsoft.DotNet.ImageBuilder/src/Commands/BuildCommand.cs +++ b/src/Microsoft.DotNet.ImageBuilder/src/Commands/BuildCommand.cs @@ -13,7 +13,6 @@ using System.Threading.Tasks; using Microsoft.DotNet.ImageBuilder.Models.Image; using Microsoft.DotNet.ImageBuilder.ViewModel; -using Microsoft.Win32; #nullable enable namespace Microsoft.DotNet.ImageBuilder.Commands diff --git a/src/Microsoft.DotNet.ImageBuilder/src/Commands/BuildOptions.cs b/src/Microsoft.DotNet.ImageBuilder/src/Commands/BuildOptions.cs index ee7ccc65..64fb844a 100644 --- a/src/Microsoft.DotNet.ImageBuilder/src/Commands/BuildOptions.cs +++ b/src/Microsoft.DotNet.ImageBuilder/src/Commands/BuildOptions.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.CommandLine; +using System.Linq; using static Microsoft.DotNet.ImageBuilder.Commands.CliHelper; #nullable enable @@ -35,43 +36,44 @@ public class BuildOptionsBuilder : DockerRegistryOptionsBuilder private readonly BaseImageOverrideOptionsBuilder _baseImageOverrideOptionsBuilder = new(); public override IEnumerable