Rename API::Entities::JobRequest::ServiceImage to API::Entities::JobRequest::Service

This commit is contained in:
Tomasz Maczukin 2017-06-12 12:48:15 +02:00
parent c64de417d2
commit fa0a326bf2
No known key found for this signature in database
GPG key ID: 7E9EB2E4B0F625CD

View file

@ -807,7 +807,7 @@ module API
expose :name, :entrypoint
end
class ServiceImage < Image
class Service < Image
expose :alias, :command
end
@ -852,7 +852,7 @@ module API
expose :variables
expose :steps, using: Step
expose :image, using: Image
expose :services, using: ServiceImage
expose :services, using: Service
expose :artifacts, using: Artifacts
expose :cache, using: Cache
expose :credentials, using: Credentials