Skip to content

Commit 4bcb9e5

Browse files
committed
broker: use flux_msg_is_local to restrict exec
Problem: the exec service on rank 0 is restricted to local only using an oudated method. Use the new flux_msg_is_local() method.
1 parent 0da26aa commit 4bcb9e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/broker/exec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ static int reject_nonlocal (const flux_msg_t *msg,
2424
void *arg,
2525
flux_error_t *error)
2626
{
27-
if (!overlay_msg_is_local (msg)) {
27+
if (!flux_msg_is_local (msg)) {
2828
errprintf (error,
2929
"Remote rexec requests are not allowed on rank 0");
3030
return -1;

0 commit comments

Comments
 (0)