Skip to content

Commit f5f7788

Browse files
committed
Improve remote migration response logging and fix namespace handling in PutMigrate method
1 parent 8892e41 commit f5f7788

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/iop/_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ def migrate_remote(filename=None):
333333
timeout=10
334334
)
335335

336-
print(f"Response from remote migration: {response.text}")
336+
print(f"Response from remote migration:\n {response.text}")
337337

338338
response.raise_for_status() # Raise an error for bad responses
339339

src/iop/cls/IOP/Service/Remote/Rest/v1.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ ClassMethod PutMigrate() As %DynamicObject
5353
}
5454
Else {
5555
// Set targetDirectory to the CODE DATABASE directory
56-
do ##class(%SYS.Namespace).GetAllNSInfo("USER",.info)
56+
do ##class(%SYS.Namespace).GetAllNSInfo(namespace,.info)
5757
Set targetDirectory = info("RoutineDB","Directory")
5858
}
5959

0 commit comments

Comments
 (0)