Use correct method for userdata update

This commit is contained in:
Joshua Boniface 2020-01-06 23:39:47 -05:00
parent 62798f9ee8
commit f4206c2b44
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ def userdata_modify(config, name, params):
userdata_data = params.get('data')
request_uri = get_request_uri(config, '/provisioner/userdata/{name}'.format(name=name))
response = requests.post(
response = requests.put(
request_uri,
params={
'name': name