Skip to content

Commit f251774

Browse files
committed
fix doc
1 parent e7588e4 commit f251774

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

internal/internal_event_handlers.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -652,8 +652,8 @@ func (wc *workflowEnvironmentImpl) GetVersion(changeID string, minSupported, max
652652
}
653653
}
654654

655-
// Store the version in the changeVersions
656-
// ensuring that it can be retrieved later
655+
// Store the version to ensure that the version is stable
656+
// during the workflow execution
657657
wc.changeVersions[changeID] = version
658658
return version
659659
}

internal/internal_workflow_testsuite.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1980,8 +1980,8 @@ func (env *testWorkflowEnvironmentImpl) GetVersion(changeID string, minSupported
19801980
env.UpsertSearchAttributes(createSearchAttributesForChangeVersion(changeID, version, env.changeVersions))
19811981
}
19821982

1983-
// Store the version in the changeVersions
1984-
// ensuring that it can be retrieved later
1983+
// Store the version to ensure that the version is stable
1984+
// during the workflow execution
19851985
env.changeVersions[changeID] = version
19861986
return version
19871987
}

0 commit comments

Comments
 (0)