Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
Shailesh Jagannath Padave authored and Shailesh Jagannath Padave committed Jan 9, 2025
1 parent cf44c04 commit 4548322
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ public TaskDef getTaskDefinition() {
* @param taskDefinition The TaskDef to set. It may be modified by this method.
*/
public void setTaskDefinition(TaskDef taskDefinition) {
if (taskDefinition != null) {
if (taskDefinition != null && taskDefinition.getName() == null) {
taskDefinition.setName(this.name);
}
this.taskDefinition = taskDefinition;
Expand Down

0 comments on commit 4548322

Please sign in to comment.