forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/cli: validate input file in tsdump command
In the tsdump command, when the --format is datadog or datadoginit, the input file is a mandatory argument. This commit adds validation logic for it before it's used to prevent panic. Fixes: cockroachdb#138170 Epic: none
- Loading branch information
1 parent
98dbe75
commit e4f91b7
Showing
1 changed file
with
5 additions
and
16 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