During Function update, cleanup should only happen for temp files that were generated (#7201)

* Fix logic while updating functions. Cleanup should only happen for temp files that were generated

* Fix integration tests

* Fix test

* Fix logic for parallelism > 1

* Fix test

* Address comments

Co-authored-by: Sanjeev Kulkarni <sanjeevk@splunk.com>
2 files changed
tree: 3586e49eaa44aa77c01f888c8ff32537cb8d4890
  1. distribution/
  2. docker/
  3. tests/