From 3222100ce7d664318e7c352a16249721f498c7ee Mon Sep 17 00:00:00 2001 From: Bill Rich Date: Fri, 24 Jan 2020 15:25:34 -0800 Subject: [PATCH] Fixup docs and formatting --- vsphere/resource_vsphere_virtual_machine.go | 2 +- website/docs/index.html.markdown | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/vsphere/resource_vsphere_virtual_machine.go b/vsphere/resource_vsphere_virtual_machine.go index 878ff662b..57247f298 100644 --- a/vsphere/resource_vsphere_virtual_machine.go +++ b/vsphere/resource_vsphere_virtual_machine.go @@ -440,7 +440,7 @@ func resourceVSphereVirtualMachineRead(d *schema.ResourceData, meta interface{}) if err := flattenVirtualMachineConfigInfo(d, vprops.Config); err != nil { return fmt.Errorf("error reading virtual machine configuration: %s", err) } - + // Read the VM Home storage policy if associated polID, err := spbm.PolicyIDByVirtualMachine(client, moid) if err != nil { diff --git a/website/docs/index.html.markdown b/website/docs/index.html.markdown index db37df914..13306ee7a 100644 --- a/website/docs/index.html.markdown +++ b/website/docs/index.html.markdown @@ -133,7 +133,9 @@ will no longer need them. * `vim_session_path` - (Optional) The direcotry to save the VIM SOAP API session to. Default: `${HOME}/.govmomi/sessions`. Can also be specified by the `VSPHERE_VIM_SESSION_PATH` environment variable. -* `rest_session_path` - Deprecated +* `rest_session_path` - The directory to save the REST API session to. + Default: `${HOME}/.govmomi/rest_sessions`. Can also be specified by the + `VSPHERE_REST_SESSION_PATH` environment variable. #### govc/Terraform session interoperability