Code review comment for ~igor-brovtsin/maas:lp-1999064

Revision history for this message
Adam Collard (adam-collard) wrote :

Let's refactor that script so that ScriptsPaths is always given a directory that exists, the caller is responsible for making a directory if needed, and cleanup afterwards.

Always clean up the directory, even if scripts fail - MAAS gets told what the errors are, and this is just a scratch directory that we use to download and execute.

« Back to merge proposal