mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
Merge pull request #1085 from larshp/localhost
add localhost as local system
This commit is contained in:
commit
0f2b61497b
|
@ -416,11 +416,11 @@ CLASS lcl_http IMPLEMENTATION.
|
|||
|
||||
METHOD create_by_url.
|
||||
|
||||
DATA: lv_uri TYPE string,
|
||||
lv_scheme TYPE string,
|
||||
li_client TYPE REF TO if_http_client,
|
||||
lo_proxy_configuration TYPE REF TO lcl_proxy_configuration,
|
||||
lv_text TYPE string.
|
||||
DATA: lv_uri TYPE string,
|
||||
lv_scheme TYPE string,
|
||||
li_client TYPE REF TO if_http_client,
|
||||
lo_proxy_configuration TYPE REF TO lcl_proxy_configuration,
|
||||
lv_text TYPE string.
|
||||
|
||||
lo_proxy_configuration = lcl_app=>proxy( ).
|
||||
|
||||
|
@ -505,6 +505,9 @@ CLASS lcl_http IMPLEMENTATION.
|
|||
lt_list TYPE zif_abapgit_definitions=>ty_icm_sinfo2_tt,
|
||||
li_exit TYPE REF TO lif_exit.
|
||||
|
||||
FIELD-SYMBOLS: <ls_list> LIKE LINE OF lt_list.
|
||||
|
||||
|
||||
CALL FUNCTION 'ICM_GET_INFO2'
|
||||
TABLES
|
||||
servlist = lt_list
|
||||
|
@ -517,6 +520,9 @@ CLASS lcl_http IMPLEMENTATION.
|
|||
RETURN.
|
||||
ENDIF.
|
||||
|
||||
APPEND INITIAL LINE TO lt_list ASSIGNING <ls_list>.
|
||||
<ls_list>-hostname = 'localhost'.
|
||||
|
||||
li_exit = lcl_exit=>get_instance( ).
|
||||
li_exit->change_local_host( CHANGING ct_hosts = lt_list ).
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user