Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sonic-package-manager] Drop 'expires_in' (#2002)
#### What I did The 'expires_in' attribute for tokens is defined as optional and some Docker repositories (notably ghcr.io) do not set it. #### How I did it Since 'expires_in' is not used anywhere in the code, we simply drop it. #### How to verify it Try to install a SONiC package from `ghcr.io`. E.g.: ``` sudo sonic-package-manager install --from-repository ghcr.io/kamelnetworks/sonic_exporter:main ``` #### Previous command output (if the output of a command-line utility has changed) ``` ghcr.io/kamelnetworks/sonic_exporter:main is going to be installed, continue? [y/N]: y Failed to install ghcr.io/kamelnetworks/sonic_exporter:main: 'expires_in' ``` #### New command output (if the output of a command-line utility has changed) Output as expected
- Loading branch information