Skip to content

Commit

Permalink
PITR config min retention period is 2 days (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
harshitha-yb authored Sep 10, 2024
1 parent c3db745 commit 0c32861
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cluster/pitr-config/pitr_config_ops.go
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ func init() {
createPitrConfigCmd.MarkFlagRequired("namespace-name")
createPitrConfigCmd.Flags().String("namespace-type", "", "[REQUIRED] The type of the namespace. Available options are YCQL and YSQL")
createPitrConfigCmd.MarkFlagRequired("namespace-type")
createPitrConfigCmd.Flags().Int32("retention-period-in-days", 1, "[REQUIRED] The time duration in days to retain a snapshot for.")
createPitrConfigCmd.Flags().Int32("retention-period-in-days", 2, "[REQUIRED] The time duration in days to retain a snapshot for.")
createPitrConfigCmd.MarkFlagRequired("retention-period-in-days")

util.AddCommandIfFeatureFlag(PitrConfigCmd, restorePitrConfigCmd, util.PITR_CONFIG)
Expand Down

0 comments on commit 0c32861

Please sign in to comment.