Skip to content

Commit

Permalink
Enumerate files for upload
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Chang <vicchang@nvidia.com>
  • Loading branch information
mocsharp committed Sep 9, 2022
1 parent 71104d7 commit be0dbe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TaskManager/Plug-ins/Docker/DockerPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ private async Task UploadOutputArtifacts(IStorageService storageService, Messagi
Guard.Against.Null(destination, nameof(destination));
Guard.Against.NullOrWhiteSpace(artifactsPath, nameof(artifactsPath));

var files = Directory.EnumerateFileSystemEntries(artifactsPath, "*", SearchOption.AllDirectories);
var files = Directory.EnumerateFiles(artifactsPath, "*", SearchOption.AllDirectories);
if (!files.Any())
{
_logger.NoFilesFoundForUpload(artifactsPath);
Expand Down

0 comments on commit be0dbe5

Please sign in to comment.