diff options
Diffstat (limited to 'lib/api/project_debian_distributions.rb')
-rw-r--r-- | lib/api/project_debian_distributions.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/api/project_debian_distributions.rb b/lib/api/project_debian_distributions.rb index 2ba1ff85adb..b8ca9428fa3 100644 --- a/lib/api/project_debian_distributions.rb +++ b/lib/api/project_debian_distributions.rb @@ -6,6 +6,10 @@ module API requires :id, type: String, desc: 'The ID of a project' end + before do + not_found! if Gitlab::FIPS.enabled? + end + resource :projects, requirements: API::NAMESPACE_OR_PROJECT_REQUIREMENTS do after_validation do require_packages_enabled! |