From 0726100da155d9618dfadfe2f289ce6c433f0452 Mon Sep 17 00:00:00 2001 From: "Pohsiang (John) Hsu" Date: Wed, 28 Jun 2023 09:52:58 -0700 Subject: [PATCH] mark NotMigrated asset as Skipped instead of Failed. when --copy-nonstreamable optiion is set to False, non-ism assets will not be copied and the results of the job is NotMigrated. Translate this status to stats.Skipped instead of stats.Failed. --- ams/AssetMigrator.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ams/AssetMigrator.cs b/ams/AssetMigrator.cs index a12e201..c43b4f7 100644 --- a/ams/AssetMigrator.cs +++ b/ams/AssetMigrator.cs @@ -101,6 +101,9 @@ await MigrateInBatches(assets, filteredList, async assets => case MigrationStatus.AlreadyMigrated: ++stats.Migrated; break; + case MigrationStatus.NotMigrated: + ++stats.Skipped; + break; default: ++stats.Failed; break;