Skip to content

Commit 95a8619

Browse files
author
Namrata Madan
committed
fix: fix bad initialization script error message
1 parent 903cb8a commit 95a8619

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sagemaker/workflow/notebook_job_step.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def _validate_inputs(self):
248248

249249
# init script is optional
250250
if self.initialization_script and not os.path.isfile(self.initialization_script):
251-
errors.append(f"The initialization script({self.input_notebook}) is not a valid file.")
251+
errors.append(f"The initialization script({self.initialization_script}) is not a valid file.")
252252

253253
if self.additional_dependencies:
254254
for path in self.additional_dependencies:

0 commit comments

Comments
 (0)