Skip to content

Commit

Permalink
adjusted some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
janstaelensskyline committed Dec 12, 2023
1 parent 4897357 commit a2cb6c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CICD.Tools.CatalogUpload.Lib/CatalogArtifact.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class CatalogArtifact
/// Creates an instance of <see cref="CatalogArtifact"/>.
/// It searches for an optional dmCatalogToken in the "dmcatalogtoken" or "dmcatalogtoken_encrypted" Environment Variable.
/// </summary>
/// <param name="pathToArtifact">Path to the ".dmapp" or ".dmprotocol" file.</param>
/// <param name="pathToArtifact">Path to the application package (.dmapp) or protocol package (.dmprotocol).</param>
/// <param name="service">An instance of <see cref="ICatalogService"/> used for communication.</param>
/// <param name="fileSystem">An instance of <see cref="IFileSystem"/> to access the filesystem. e.g. Skyline.DataMiner.CICD.FileSystem.Instance.</param>
/// <param name="logger">An instance of <see cref="ILogger"/> that will hold error, debug and other information.</param>
Expand All @@ -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.
/// </summary>
/// <remarks>WARNING: when wishing to upload several Artifacts it's recommended to use the CatalogArtifact(string pathToArtifact, ICatalogService service, IFileSystem fileSystem, ILogger logger).</remarks>
/// <param name="pathToArtifact">Path to the ".dmapp" or ".dmprotocol" file.</param>
/// <param name="pathToArtifact">Path to the application package (.dmapp) or protocol package (.dmprotocol).</param>
/// <param name="logger">An instance of <see cref="ILogger"/> that will hold error, debug and other information.</param>
/// <param name="metaData">Contains package metadata.</param>
public CatalogArtifact(string pathToArtifact, ILogger logger, CatalogMetaData metaData) : this(pathToArtifact, CatalogServiceFactory.CreateWithHttp(new System.Net.Http.HttpClient(), logger), FileSystem.Instance, logger, metaData)
Expand Down
2 changes: 1 addition & 1 deletion CICD.Tools.CatalogUpload/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public static async Task<int> Main(string[] args)
{
var pathToArtifact = new Option<string>(
name: "--pathToArtifact",
description: "The path to a .dmapp or .dmprotocol file.")
description: "Path to the application package (.dmapp) or protocol package (.dmprotocol).")
{
IsRequired = true
};
Expand Down

0 comments on commit a2cb6c6

Please sign in to comment.