Skip to content
Snippets Groups Projects
Commit b7a92b20 authored by rhatto's avatar rhatto
Browse files

Fixing typos (#3868)

parent e22107cf
No related branches found
No related tags found
No related merge requests found
...@@ -423,7 +423,7 @@ function rotate_long { ...@@ -423,7 +423,7 @@ function rotate_long {
fi fi
# Validate created date # Validate created date
if [ -z "$created" ] || echo $created | grep -v -q -e '^[0-9]*$'; then if [ -z "$created" ] || echo $created | grep -v -q -e '^[0-9]*$'; then
warning "Invalid metatada $created. Skipping rotation." warning "Invalid metadata $created. Skipping rotation."
break break
fi fi
cutoff_time=$(( now - (seconds*(i-1)) )) cutoff_time=$(( now - (seconds*(i-1)) ))
...@@ -546,7 +546,7 @@ function rotate_long_remote { ...@@ -546,7 +546,7 @@ function rotate_long_remote {
fi fi
# Validate created date # Validate created date
if [ -z "\$created" ] || echo \$created | grep -v -q -e '^[0-9]*$'; then if [ -z "\$created" ] || echo \$created | grep -v -q -e '^[0-9]*$'; then
echo "Warning: Invalid metatada \$created. Skipping rotation." echo "Warning: Invalid metadata \$created. Skipping rotation."
break break
fi fi
cutoff_time=\$(( now - (seconds*(i-1)) )) cutoff_time=\$(( now - (seconds*(i-1)) ))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment