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:
Frederik Hudák 2021-02-22 06:49:15 +01:00 committed by GitHub
parent b7d6870077
commit 357203034c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>.