mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
14 lines
249 B
Ruby
14 lines
249 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Vmpooler
|
|
class API
|
|
class Healthcheck < Sinatra::Base
|
|
get '/healthcheck/?' do
|
|
content_type :json
|
|
|
|
status 200
|
|
JSON.pretty_generate({ 'ok' => true })
|
|
end
|
|
end
|
|
end
|
|
end
|