Skip to content

Commit ed93f73

Browse files
committed
job-info: fix rfc7 code style violation
Problem: Several calls to json_array_foreach are missing a space between it and the open parenthesis. This is likely a cut and paste error. Add the extra spaces.
1 parent 8403439 commit ed93f73

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/modules/job-info/lookup.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ static int lookup_keys (struct lookup_ctx *l)
130130
goto error;
131131
}
132132

133-
json_array_foreach(l->keys, index, key) {
133+
json_array_foreach (l->keys, index, key) {
134134
const char *keystr;
135135
if (!(keystr = json_string_value (key))) {
136136
errno = EINVAL;
@@ -195,7 +195,7 @@ static void info_lookup_continuation (flux_future_t *fall, void *arg)
195195
goto enomem;
196196
}
197197

198-
json_array_foreach(l->keys, index, key) {
198+
json_array_foreach (l->keys, index, key) {
199199
flux_future_t *f;
200200
const char *keystr;
201201
json_t *str = NULL;
@@ -278,7 +278,7 @@ static int check_keys_for_eventlog (struct lookup_ctx *l)
278278
return 0;
279279
}
280280

281-
json_array_foreach(l->keys, index, key) {
281+
json_array_foreach (l->keys, index, key) {
282282
const char *keystr;
283283
if (!(keystr = json_string_value (key))) {
284284
errno = EINVAL;

0 commit comments

Comments
 (0)