diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-24 09:10:09 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-24 09:10:09 +0300 |
commit | 48d01de234da5a6e28455715230d902fc60feb89 (patch) | |
tree | 1a60bd1cddbd55a57ee208d43529a7248fb3fe72 /lib | |
parent | d3776a363c2e7092801a68e4f8d46df5993de867 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/terraform/state.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/terraform/state.rb b/lib/api/terraform/state.rb index 052c75188ab..5141d1fd499 100644 --- a/lib/api/terraform/state.rb +++ b/lib/api/terraform/state.rb @@ -46,7 +46,7 @@ module API desc 'Add a new terraform state or update an existing one' route_setting :authentication, basic_auth_personal_access_token: true post do - data = request.body.string + data = request.body.read no_content! if data.empty? remote_state_handler.handle_with_lock do |state| |