From a2cb6c68a28a06d5e26746f8a42af097be130155 Mon Sep 17 00:00:00 2001 From: Jan Staelens Date: Tue, 12 Dec 2023 11:30:46 +0100 Subject: [PATCH] adjusted some comments --- CICD.Tools.CatalogUpload.Lib/CatalogArtifact.cs | 4 ++-- CICD.Tools.CatalogUpload/Program.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CICD.Tools.CatalogUpload.Lib/CatalogArtifact.cs b/CICD.Tools.CatalogUpload.Lib/CatalogArtifact.cs index ab4add3..cd0bd9a 100644 --- a/CICD.Tools.CatalogUpload.Lib/CatalogArtifact.cs +++ b/CICD.Tools.CatalogUpload.Lib/CatalogArtifact.cs @@ -26,7 +26,7 @@ public class CatalogArtifact /// Creates an instance of . /// It searches for an optional dmCatalogToken in the "dmcatalogtoken" or "dmcatalogtoken_encrypted" Environment Variable. /// - /// Path to the ".dmapp" or ".dmprotocol" file. + /// Path to the application package (.dmapp) or protocol package (.dmprotocol). /// An instance of used for communication. /// An instance of to access the filesystem. e.g. Skyline.DataMiner.CICD.FileSystem.Instance. /// An instance of that will hold error, debug and other information. @@ -47,7 +47,7 @@ public CatalogArtifact(string pathToArtifact, ICatalogService service, IFileSyst /// It searches for an optional dmCatalogToken in the "dmcatalogtoken" or "dmcatalogtoken_encrypted" Environment Variable for authentication. /// /// WARNING: when wishing to upload several Artifacts it's recommended to use the CatalogArtifact(string pathToArtifact, ICatalogService service, IFileSystem fileSystem, ILogger logger). - /// Path to the ".dmapp" or ".dmprotocol" file. + /// Path to the application package (.dmapp) or protocol package (.dmprotocol). /// An instance of that will hold error, debug and other information. /// Contains package metadata. public CatalogArtifact(string pathToArtifact, ILogger logger, CatalogMetaData metaData) : this(pathToArtifact, CatalogServiceFactory.CreateWithHttp(new System.Net.Http.HttpClient(), logger), FileSystem.Instance, logger, metaData) diff --git a/CICD.Tools.CatalogUpload/Program.cs b/CICD.Tools.CatalogUpload/Program.cs index 3aa6e3e..d5f2fa3 100644 --- a/CICD.Tools.CatalogUpload/Program.cs +++ b/CICD.Tools.CatalogUpload/Program.cs @@ -23,7 +23,7 @@ public static async Task Main(string[] args) { var pathToArtifact = new Option( name: "--pathToArtifact", - description: "The path to a .dmapp or .dmprotocol file.") + description: "Path to the application package (.dmapp) or protocol package (.dmprotocol).") { IsRequired = true };