Update git submodules

* Update python-glanceclient from branch 'master'
  to 8681124fcc5643f9c7d2fb4943e954fc49e49441
  - Merge "do_image_import: fix argument retrieval"
  - do_image_import: fix argument retrieval
    
    The argparse module automatically replaces '-' characters with '_'
    characters when converting an option string to an attribute:
    
    «For optional argument actions, the value of dest is normally inferred
    from the option strings. ArgumentParser generates the value of dest by
    taking the first long option string and stripping away the initial --
    string. If no long option strings were supplied, dest will be derived
    from the first short option string by stripping the initial - character.
    Any internal - characters will be converted to _ characters to make sure
    the string is a valid attribute name.»[1]
    
    This means that the value of the "--remote-region" option of the
    "image-import" command will be available as "args.remote_region";
    "remote-region" would not be a valid attribute anyway.
    
    We make sure to retrieve the proper value for the following
    options: --remote-region, --remote-image-id and
    --remote-service-interface.
    
    [1] https://docs.python.org/3/library/argparse.html#dest
    
    Change-Id: I1d8c69acd5d61fdc426469cd87d1ace81871e60f
    Partial-Bug: #2012442
This commit is contained in:
Zuul 2023-05-16 17:25:30 +00:00 committed by Gerrit Code Review
parent 2a42c03d76
commit 800f7a4385
1 changed files with 1 additions and 1 deletions

@ -1 +1 @@
Subproject commit 3fdc74b8f235165fbf10ac4b2d90e1d535d37954
Subproject commit 8681124fcc5643f9c7d2fb4943e954fc49e49441