-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix index info command with containerd content store
Previously SOCI CLI index info command would fail with context deadline exceeded error when the content store was set to containerd. The root cause was the default global duration for the app context is zero if not set. The result was Go context with an immediate deadline thus resulting in the error. The fix is to not set a deadline if the duration is zero. Signed-off-by: Austin Vazquez <[email protected]>
- Loading branch information
1 parent
cf25e82
commit 78d77d6
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters