Constants in GitlabNet throw warnings
When pushing to our gitlab repositories we always get the following messages:
# git push
Counting objects: 3, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 392 bytes | 392.00 KiB/s, done.
Total 3 (delta 1), reused 0 (delta 0)
remote: /opt/dol/var/gitlab/lib/gitlab_net.rb:16: warning: already initialized constant GitlabNet::CHECK_TIMEOUT
remote: /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_net.rb:16: warning: previous definition of CHECK_TIMEOUT was here
remote: /opt/dol/var/gitlab/lib/gitlab_net.rb:17: warning: already initialized constant GitlabNet::API_INACCESSIBLE_MESSAGE
remote: /opt/gitlab/embedded/service/gitlab-shell/lib/gitlab_net.rb:17: warning: previous definition of API_INACCESSIBLE_MESSAGE was here
To https://gitlab.somedomain.de/me/test-push.git
c38d2da..51e40b2 master -> master
The push nevertheless works.
Expected behavior:
- Do not get any warning message with code specific information.