mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 04:08:27 +08:00
zif_abapgit_persist_repo~update_metadata - don't load all repositories (#4554)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
This commit is contained in:
parent
b7d6870077
commit
357203034c
|
@ -239,11 +239,7 @@ CLASS ZCL_ABAPGIT_PERSISTENCE_REPO IMPLEMENTATION.
|
|||
zcx_abapgit_exception=>raise( 'update, url empty' ).
|
||||
ENDIF.
|
||||
|
||||
TRY.
|
||||
ls_persistent_meta = zif_abapgit_persist_repo~read( iv_key ).
|
||||
CATCH zcx_abapgit_not_found.
|
||||
zcx_abapgit_exception=>raise( 'repo key not found' ).
|
||||
ENDTRY.
|
||||
ls_persistent_meta = zcl_abapgit_repo_srv=>get_instance( )->get( iv_key )->ms_data.
|
||||
|
||||
" Update
|
||||
LOOP AT mt_meta_fields ASSIGNING <lv_field>.
|
||||
|
|
Loading…
Reference in New Issue
Block a user