Skip to content

Commit

Permalink
Address BuildKite Errors
Browse files Browse the repository at this point in the history
Should address these two that were noted:
[2024-09-28T00:50:36Z] internal/cmd/database/restore.go:75:10: error strings should not be capitalized (ST1005)
[2024-09-28T00:50:36Z] internal/cmd/database/restore.go:75:10: error strings should not end with punctuation or newlines (ST1005)
  • Loading branch information
orware committed Sep 28, 2024
1 parent eeb14a4 commit 731c3a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cmd/database/restore.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func restore(ch *cmdutil.Helper, cmd *cobra.Command, flags *restoreFlags, args [
}

if flags.endingTable != "" && flags.startingTable != "" && (flags.endingTable < flags.startingTable) {
return fmt.Errorf("Your provided ending table %s must come alphabetically after your provided starting table %s for the restore to continue.",
return fmt.Errorf("provided ending table %s must come alphabetically after your provided starting table %s for the restore to continue",
printer.BoldBlue(flags.endingTable), printer.BoldBlue(flags.startingTable))
}

Expand Down

0 comments on commit 731c3a6

Please sign in to comment.