diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab_keys.rb | 2 | ||||
-rw-r--r-- | lib/gitlab_projects.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab_keys.rb b/lib/gitlab_keys.rb index 8047c1b..03026ed 100644 --- a/lib/gitlab_keys.rb +++ b/lib/gitlab_keys.rb @@ -18,7 +18,7 @@ class GitlabKeys when 'add-key'; add_key when 'rm-key'; rm_key else - $logger.error "Attempt to execute invalid gitlab-keys command #{@command.inspect}." + $logger.warn "Attempt to execute invalid gitlab-keys command #{@command.inspect}." puts 'not allowed' false end diff --git a/lib/gitlab_projects.rb b/lib/gitlab_projects.rb index 2b8bbed..e60438e 100644 --- a/lib/gitlab_projects.rb +++ b/lib/gitlab_projects.rb @@ -32,7 +32,7 @@ class GitlabProjects when 'import-project'; import_project when 'fork-project'; fork_project else - $logger.error "Attempt to execute invalid gitlab-projects command #{@command.inspect}." + $logger.warn "Attempt to execute invalid gitlab-projects command #{@command.inspect}." puts 'not allowed' false end |