diff options
author | Thomas White <taw@physics.org> | 2021-09-09 16:33:50 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2022-06-02 12:15:38 +0200 |
commit | 24d180fc0173c8f577ffbb3394b612c19fa161ff (patch) | |
tree | f091d0152a98bfb99238c5e48e107ce55fbcfab0 /src/im-asapo.c | |
parent | 151924b7fccde4cb6bdb73128ba27c091037eb4b (diff) |
ASAP::O: Remove filesystem path
This is only really needed for offline processing. It's an added
complication for now. Maybe we'll revisit it later and re-expose this,
though.
Diffstat (limited to 'src/im-asapo.c')
-rw-r--r-- | src/im-asapo.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/im-asapo.c b/src/im-asapo.c index 9d8fb171..c44f05a7 100644 --- a/src/im-asapo.c +++ b/src/im-asapo.c @@ -91,12 +91,10 @@ char *im_asapo_make_unique_group_id(const char *endpoint, struct im_asapo *im_asapo_connect(const char *endpoint, const char *token, const char *beamtime, - const char *path, const char *group_id, const char *data_source) { struct im_asapo *a; - int has_filesystem; AsapoSourceCredentialsHandle cred; AsapoErrorHandle err = asapo_new_handle(); @@ -105,14 +103,7 @@ struct im_asapo *im_asapo_connect(const char *endpoint, cred = asapo_create_source_credentials(kProcessed, beamtime, "", data_source, token); - if ( path == NULL ) { - path = ""; - has_filesystem = 0; - } else { - has_filesystem = 1; - } - a->consumer = asapo_create_consumer(endpoint, path, has_filesystem, - cred, &err); + a->consumer = asapo_create_consumer(endpoint, "", 0, cred, &err); asapo_free_handle(&cred); if ( asapo_is_error(err) ) { show_asapo_error("Cannot create ASAP::O consumer", err); |