func (manager *metadataManager) Clean(taskARN string) error {
	metadataPath, err := getTaskMetadataDir(taskARN, manager.dataDir)
	if err != nil {
		return fmt.Errorf("clean task metadata: unable to get metadata directory for task %s: %v", taskARN, err)
	}
	return manager.osWrap.RemoveAll(metadataPath)
}
func (manager *metadataManager) Clean(taskARN string) error {
	metadataPath, err := getTaskMetadataDir(taskARN, manager.dataDir)
	if err != nil {
		return fmt.Errorf("clean task metadata: unable to get metadata directory for task %s: %v", taskARN, err)
	}
	return manager.osWrap.RemoveAll(metadataPath)
}
func ( manager * metadataManager ) Clean ( taskARN string ) error { metadataPath , err := getTaskMetadataDir ( taskARN , manager . dataDir ) if err != nil { return fmt . Errorf ( " " , taskARN , err ) } return manager . osWrap . RemoveAll ( metadataPath ) }
// Clean removes the metadata files of all containers associated with a task
Clean removes the metadata files of all containers associated with a task