Skip to content

Commit

Permalink
Remove extra backticks from HTTP server documentation (#191)
Browse files Browse the repository at this point in the history
* Remove extra backticks from HTTP server documentation

* $ make generate
  • Loading branch information
edigaryev authored Jul 6, 2023
1 parent af18c71 commit 2a6d852
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ referenced will be available in your builder.

Example usage from a builder:

`wget http://{{ .HTTPIP }}:{{ .HTTPPort }}/foo/bar/preseed.cfg`
```
wget http://{{ .HTTPIP }}:{{ .HTTPPort }}/foo/bar/preseed.cfg
```

<!-- End of code generated from the comments of the HTTPConfig struct in multistep/commonsteps/http_config.go; -->
4 changes: 3 additions & 1 deletion multistep/commonsteps/http_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ import (
//
// Example usage from a builder:
//
// `wget http://{{ .HTTPIP }}:{{ .HTTPPort }}/foo/bar/preseed.cfg`
// ```
// wget http://{{ .HTTPIP }}:{{ .HTTPPort }}/foo/bar/preseed.cfg
// ```
type HTTPConfig struct {
// Path to a directory to serve using an HTTP server. The files in this
// directory will be available over HTTP that will be requestable from the
Expand Down

0 comments on commit 2a6d852

Please sign in to comment.