Skip to content

Commit 78e4ad3

Browse files
committed
se-116 remove unneccesary flag disable
1 parent eeafc03 commit 78e4ad3

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

cmd/pmm-dump/main.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,13 +150,8 @@ func main() {
150150
justKey = ptr(false)
151151
}
152152

153-
if *toFile != "" && *justKey {
154-
log.Warn().Msgf("pass-filepath and just-key are mutually exclusive, disabling just-key")
155-
justKey = ptr(false)
156-
}
157-
158153
if *toFile == "" && *forceToFile {
159-
log.Warn().Msgf("force-pass-filepath is set and pass-filepath is empty, dissabling force-pass-filepath")
154+
log.Warn().Msgf("force-pass-filepath is set and pass-filepath is empty, disabling force-pass-filepath")
160155
justKey = ptr(false)
161156
}
162157

0 commit comments

Comments
 (0)