Skip to content

Commit 9d4cf73

Browse files
committed
bcast - Rename _get_job_info() to _get_cred_for_job()
Issue #2
1 parent e9ac427 commit 9d4cf73

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bcast/file_bcast.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ static int _file_state(struct bcast_parameters *params);
9696
static list_t *_fill_in_excluded_paths(struct bcast_parameters *params);
9797
static int _find_subpath(void *x, void *key);
9898
static int _foreach_shared_object(void *x, void *y);
99-
static int _get_job_info(struct bcast_parameters *params);
99+
static int _get_cred_for_job(struct bcast_parameters *params);
100100
static list_t *_get_lib_paths(char *filename);
101101

102102
static int _file_state(struct bcast_parameters *params)
@@ -135,7 +135,7 @@ static int _file_state(struct bcast_parameters *params)
135135
}
136136

137137
/* get details about this slurm job: jobid and allocated node */
138-
static int _get_job_info(struct bcast_parameters *params)
138+
static int _get_cred_for_job(struct bcast_parameters *params)
139139
{
140140
int rc;
141141
char job_id_str[64];
@@ -628,7 +628,7 @@ extern int bcast_file(struct bcast_parameters *params)
628628

629629
if ((rc = _file_state(params)) != SLURM_SUCCESS)
630630
return rc;
631-
if ((rc = _get_job_info(params)) != SLURM_SUCCESS)
631+
if ((rc = _get_cred_for_job(params)) != SLURM_SUCCESS)
632632
return rc;
633633

634634
/*

0 commit comments

Comments
 (0)