Skip to content

Commit a180137

Browse files
authored
Update context reference for mprPath in cmd_odata.go
Use exec context to resolve path.
1 parent d688919 commit a180137

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

mdl/executor/cmd_odata.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,8 +1030,8 @@ Got: %s`, stmt.ServiceUrl)
10301030
// Normalize local file paths to absolute file:// URLs for Studio Pro compatibility
10311031
if newSvc.MetadataUrl != "" {
10321032
mprDir := ""
1033-
if e.mprPath != "" {
1034-
mprDir = filepath.Dir(e.mprPath)
1033+
if ctx.MprPath != "" {
1034+
mprDir = filepath.Dir(ctx.MprPath)
10351035
}
10361036

10371037
// Normalize MetadataUrl: convert relative paths to absolute file:// URLs

0 commit comments

Comments
 (0)