Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigozhou committed Aug 28, 2024
1 parent d2cfa7b commit 8952557
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion temporalnexus/link_converter.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

// This file is duplicated in temporalio/temporal/components/nexusoptionations/link_converter.go
// Any changes here or there must be replicated. This is temporary until the
// temporal repo updates to the most recent SDK version.

package temporalnexus

import (
Expand Down Expand Up @@ -51,7 +55,7 @@ var (
rePatternWorkflowID = fmt.Sprintf(`(?P<%s>[^/]+)`, urlPathWorkflowIDKey)
rePatternRunID = fmt.Sprintf(`(?P<%s>[^/]+)`, urlPathRunIDKey)
urlPathRE = regexp.MustCompile(fmt.Sprintf(
`^/namespaces/%s/workflows/%s/%s/history/?$`,
`^/namespaces/%s/workflows/%s/%s/history$`,
rePatternNamespace,
rePatternWorkflowID,
rePatternRunID,
Expand Down

0 comments on commit 8952557

Please sign in to comment.