lib/mkit/app/controllers/pods_controller.rb in mkit-0.6.3 vs lib/mkit/app/controllers/pods_controller.rb in mkit-0.7.0
- old
+ new
@@ -16,14 +16,8 @@
delete '/services/:service_id/pods/:pod_id' do
"Not implemented\n"
end
post '/services/:service_id/pods' do
- xx = 'no file'
- if params[:file]
- tempfile = params[:file][:tempfile]
- xx = YAML.safe_load(tempfile.read)
- puts xx
- end
- JSON.pretty_generate(JSON.parse(xx.to_json))
+ "Not implemented\n"
end
end