diff options
author | Tomasz Maczukin <tomasz@maczukin.pl> | 2016-02-17 21:23:14 +0100 |
---|---|---|
committer | Tomasz Maczukin <tomasz@maczukin.pl> | 2016-02-19 13:18:49 +0100 |
commit | e4d2f9972cef6268166a31c20c062b2bf42d9ed7 (patch) | |
tree | cc4615ac3b6c567fd9e6af4c108586d454aeaf64 /lib | |
parent | 7ea60c8564b18788990ce8b45decd0932d71ba6e (diff) | |
download | gitlab-ce-e4d2f9972cef6268166a31c20c062b2bf42d9ed7.tar.gz |
Change `last_contact` to `contacted_at`
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/entities.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 3908e2a83c8..c31ef5352dd 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -380,7 +380,7 @@ module API class RunnerDetails < Runner expose :tag_list expose :version, :revision, :platform, :architecture - expose :contacted_at, as: :last_contact + expose :contacted_at expose :token, if: lambda { |runner, options| options[:current_user].is_admin? || !runner.is_shared? } expose :projects, with: Entities::ForkedFromProject do |runner, options| if options[:current_user].is_admin? |