Skip to content

Commit

Permalink
chore: remove todo comment
Browse files Browse the repository at this point in the history
  • Loading branch information
thegentlemanphysicist committed Jun 4, 2024
1 parent 3d31ef4 commit 870d058
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion transition-scripts/deploy-switchover-agent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ source "$pwd/helpers/_all.sh"

validate_time_regex() {
local input="$1"
#TODO IMPROVE THIS REGEX
local regex="^2[0-9]{3}\/[0-9]{2}\/[0-9]{2}\s[0-9]{2}:[0-9]{2}$"
if [[ "$input" =~ $regex ]]; then
echo "The input matches the time regex."
Expand Down

0 comments on commit 870d058

Please sign in to comment.