docs: fix typos in error messages and winrm docs

This commit is contained in:
auto 2026-04-20 22:38:48 +08:00 committed by Bojun Chai
parent eee3805c06
commit f61e5536da
2 changed files with 4 additions and 4 deletions

View file

@ -319,7 +319,7 @@ func (c *PackerConfig) recursivelyEvaluateLocalVariable(local *LocalBlock, depth
return hcl.Diagnostics{&hcl.Diagnostic{
Severity: hcl.DiagError,
Summary: "Max local recursion depth exceeded.",
Detail: "An error occured while recursively evaluating locals." +
Detail: "An error occurred while recursively evaluating locals." +
"Your local variables likely have a cyclic dependency. " +
"Please simplify your config to continue. ",
}}
@ -428,7 +428,7 @@ func (cfg *PackerConfig) recursivelyEvaluateDatasources(ref DatasourceRef, depen
diags = append(diags, &hcl.Diagnostic{
Severity: hcl.DiagError,
Summary: "Max datasource recursion depth exceeded.",
Detail: "An error occured while recursively evaluating data " +
Detail: "An error occurred while recursively evaluating data " +
"sources. Either your data source depends on more than ten " +
"other data sources, or your data sources have a cyclic " +
"dependency. Please simplify your config to continue. ",

View file

@ -182,8 +182,8 @@ cmd.exe /c net start winrm
```
Please note that having WinRM auto-launch on all start ups may not be the right
choice for you, if you don't need the server to recieve WinRM connections in the
future. Clean up after yourself and close unnecesary firewall ports at a final
choice for you, if you don't need the server to receive WinRM connections in the
future. Clean up after yourself and close unnecessary firewall ports at a final
provisioning step to make sure your image is secure.
#### Configuring WinRM in the Cloud