@@ -260,7 +260,7 @@ int wait_id_valid (struct list_ctx *ctx, struct idsync_data *isd)
260260 zlistx_detach (ctx -> idsync_lookups , handle );
261261 }
262262
263- /* idsync_waits holds lists of ids waiting on, b/c multiplers callers
263+ /* idsync_waits holds lists of ids waiting on, b/c multiple callers
264264 * could wait on same id */
265265 if (!(list_isd = zhashx_lookup (ctx -> idsync_waits , & isd -> id ))) {
266266 if (!(list_isd = zlistx_new ())) {
@@ -301,12 +301,12 @@ void check_id_valid_continuation (flux_future_t *f, void *arg)
301301 goto cleanup ;
302302 }
303303 else {
304- /* Job ID is legal. Chance job-info has seen ID since this
304+ /* Job ID is legal. Chance job-list has seen ID since this
305305 * lookup was done */
306306 struct job * job ;
307307 if (!(job = zhashx_lookup (ctx -> jsctx -> index , & isd -> id ))
308308 || job -> state == FLUX_JOB_STATE_NEW ) {
309- /* Must wait for job-info to see state change */
309+ /* Must wait for job-list to see state change */
310310 if (wait_id_valid (ctx , isd ) < 0 )
311311 flux_log_error (ctx -> h , "%s: wait_id_valid" , __FUNCTION__ );
312312 goto cleanup ;
@@ -343,7 +343,7 @@ int check_id_valid (struct list_ctx *ctx,
343343 char path [256 ];
344344 int saved_errno ;
345345
346- /* Check to see if the ID is legal, job-info may have not yet
346+ /* Check to see if the ID is legal, job-list may have not yet
347347 * seen the ID publication yet */
348348 if (flux_job_kvs_key (path , sizeof (path ), id , NULL ) < 0 )
349349 goto error ;
@@ -416,7 +416,7 @@ json_t *get_job_by_id (struct list_ctx *ctx,
416416 flux_log_error (ctx -> h , "%s: idsync_data_create" , __FUNCTION__ );
417417 return NULL ;
418418 }
419- /* Must wait for job-info to see state change */
419+ /* Must wait for job-list to see state change */
420420 if (wait_id_valid (ctx , isd ) < 0 ) {
421421 flux_log_error (ctx -> h , "%s: wait_id_valid" , __FUNCTION__ );
422422 return NULL ;
0 commit comments