Add Dry Run option to clean task (#1081)

This commit is contained in:
bnkai
2021-01-29 06:03:34 +02:00
committed by GitHub
parent 203fc3e4b2
commit df8675c2e7
9 changed files with 60 additions and 21 deletions

View File

@@ -70,8 +70,8 @@ func (r *mutationResolver) MetadataAutoTag(ctx context.Context, input models.Aut
return "todo", nil
}
func (r *mutationResolver) MetadataClean(ctx context.Context) (string, error) {
manager.GetInstance().Clean()
func (r *mutationResolver) MetadataClean(ctx context.Context, input models.CleanMetadataInput) (string, error) {
manager.GetInstance().Clean(input)
return "todo", nil
}