Commit 0f9274b2 authored by Winnie Hellmann's avatar Winnie Hellmann Committed by Kamil Trzciński

Limit feature flag description to 1000 characters

parent d59bafb9
...@@ -12,5 +12,6 @@ module Operations ...@@ -12,5 +12,6 @@ module Operations
with: Gitlab::Regex.feature_flag_regex, with: Gitlab::Regex.feature_flag_regex,
message: Gitlab::Regex.feature_flag_regex_message message: Gitlab::Regex.feature_flag_regex_message
} }
validates :description, length: 0..1000
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment