commit | 83335e3569e2651c31f036931b1a1025b95e4495 | [log] [tgz] |
---|---|---|
author | Hsin-Yi Chen <hsinyichen@google.com> | Tue Mar 07 16:26:17 2023 +0800 |
committer | Hsin-Yi Chen <hsinyichen@google.com> | Fri Mar 10 15:43:23 2023 +0800 |
tree | 0eb576c69635ca4d423d9535d3442c36f9c6f9b6 | |
parent | 9e26729fc766bb4badcf9aba4d7035a817ab4687 [diff] |
Convert build_api and download_dir to attributes of remote host GF device factory This commit converts build_api and download_dir from method arguments to attributes. They are initialized when first used. The device factory will not need to authenticate the client or create the download directory in local image mode. Test: python3 -m acloud.public.actions.remote_host_gf_device_factory_test Bug: 245226952 Change-Id: Ifdb8a65fcab3b06996cb085208dcb00eb298c0b5