Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Support space in logDir #1694

Merged
merged 10 commits into from
Nov 11, 2019
Merged

Conversation

SparkSnail
Copy link
Contributor

@SparkSnail SparkSnail commented Nov 3, 2019

@@ -380,9 +380,9 @@ class LocalTrainingService implements TrainingService {
const envVariables: { key: string; value: string }[] = [
{ key: 'NNI_PLATFORM', value: 'local' },
{ key: 'NNI_EXP_ID', value: this.experimentId },
{ key: 'NNI_SYS_DIR', value: trialJobDetail.workingDirectory },
{ key: 'NNI_SYS_DIR', value: `'${trialJobDetail.workingDirectory}'` },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think the value of environment variables should to be quoted.
We should quote them when composing the command, not here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed.

@SparkSnail SparkSnail requested a review from chicm-ms November 5, 2019 04:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants