Skip to content

Commit

Permalink
Merge pull request #16 from sirireddy12/helmupdatefix
Browse files Browse the repository at this point in the history
fix location variable
  • Loading branch information
sirireddy12 authored Feb 21, 2022
2 parents cc6006f + a1f6a96 commit b4f43c4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/connectedk8s/azext_connectedk8s/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -886,8 +886,7 @@ def update_agents(cmd, client, resource_group_name, cluster_name, https_proxy=""
if kube_context:
cmd_helm_values.extend(["--kube-context", kube_context])

user_values_filepath_string = os.path.join(os.path.expanduser('~'), '.azure', 'userValues.txt')
user_values_location = os.path.expanduser(os.path.join('~', user_values_filepath_string))
user_values_location = os.path.join(os.path.expanduser('~'), '.azure', 'userValues.txt')
existing_user_values = open(user_values_location, 'w+')
response_helm_values_get = Popen(cmd_helm_values, stdout=existing_user_values, stderr=PIPE)
_, error_helm_get_values = response_helm_values_get.communicate()
Expand Down

0 comments on commit b4f43c4

Please sign in to comment.