Skip to content

Commit

Permalink
mark NotMigrated asset as Skipped instead of Failed.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pohhsu committed Jun 28, 2023
1 parent 4c4327e commit 0726100
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ams/AssetMigrator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0726100

Please sign in to comment.