Skip to content

Commit 7afd90b

Browse files
committed
fix comment
1 parent ef8165c commit 7afd90b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/internal_event_handlers.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,7 @@ func validateVersion(changeID string, version, minSupported, maxSupported Versio
605605
func (wc *workflowEnvironmentImpl) GetVersion(changeID string, minSupported, maxSupported Version, opts ...GetVersionOption) Version {
606606
// Check if the changeID already has a version assigned
607607
// If it does, validate the version against the min and max supported versions
608+
// ensuring it is within the acceptable range
608609
if version, ok := wc.changeVersions[changeID]; ok {
609610
validateVersion(changeID, version, minSupported, maxSupported)
610611
return version

0 commit comments

Comments
 (0)