Skip to content

Commit fc8571e

Browse files
committed
Fix formatting
1 parent a4e11b4 commit fc8571e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,13 @@ Choose one of the following methods:
1919

2020
<details>
2121
<summary><strong>Docker container</strong></summary>
22-
2322
<br>
2423

24+
2525
> [!NOTE]
2626
>
2727
> So long as the container hasn't been restricted, the reported CPU load and memory usage should match those of the host. For disk usage, you'll need to mount the relevant mountpoints into the container.
2828
29-
3029
```yml
3130
services:
3231
glance-agent:
@@ -79,6 +78,7 @@ And follow the instructions. When done, the agent can later be configured throug
7978

8079
<img src="assets/install-demo.gif">
8180

81+
8282
> [!NOTE]
8383
>
8484
> To update the agent, you must download the latest release and replace the existing binary at `/opt/glance-agent/agent`. Then, restart the service with:
@@ -198,6 +198,7 @@ To hide a mountpoint, use the prefix `!`, for example:
198198
MOUNTPOINTS="/mnt/data:Data, !/etc/hostname"
199199
```
200200

201+
201202
> [!NOTE]
202203
>
203204
> When inside a Docker container, some common mountpoints such as `/etc/hosts`, `etc/hostname` and `/etc/resolv.conf` are automatically hidden.

internal/install/install.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ func Init() (err error) {
496496
}
497497

498498
// fmt.Println("\nTo update the agent run", trm.Styled("sudo "+options.UpdateScriptPath, trm.FgCyan))
499-
fmt.Println("To uninstall the agent run", trm.Styled("sudo "+options.UninstallScriptPath, trm.FgCyan))
499+
fmt.Println("\nTo uninstall the agent run", trm.Styled("sudo "+options.UninstallScriptPath, trm.FgCyan))
500500

501501
fmt.Print("\nAdd the following entry to your servers list in glance.yml:\n\n")
502502
trm.PrintlnStyled(string(glanceConfigEntryContents), trm.FgCyan)

0 commit comments

Comments
 (0)