Skip to content

Commit fcdd1ec

Browse files
committed
fix linter warnings
Signed-off-by: Daniel Liszka <daniel@chainloop.dev>
1 parent bd4ac26 commit fcdd1ec

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

devel/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Once logged in, please refer to our [Getting Started guide](https://docs.chainlo
7373
## Building CLI
7474
### Updating default values
7575

76-
By default chainloop command line tool uses the following values for the Control Plane and Artifacts CAS API endpoints:
76+
By default the Chainloop command line tool uses the following values for the Control Plane and Artifacts CAS API endpoints:
7777

7878
- Artifacts CAS: api.cas.chainloop.dev:443
7979
- Control Plane API: api.cp.chainloop.dev:443
@@ -96,14 +96,14 @@ cd chainloop
9696
go build app/cli/main.go
9797
```
9898

99-
**Example 2** Set the default value for the Artifacts CAS endpoint. We will use `ldflags` and the `defaultCasApi` variable. We assume in this example that we have our instance of CAS running at the following location: `api.cas.acme.com:443`.
99+
**Example 2** Set the default value for the Artifacts CAS endpoint. We will use `ldflags` and the `defaultCasAPI` variable. We assume in this example that we have our instance of CAS running at the following location: `api.cas.acme.com:443`.
100100

101101
```
102-
go build -ldflags "-X 'github.com/chainloop-dev/chainloop/app/cli/cmd.defaultCasApi=api.cas.acme.com:443'" app/cli/main.go
102+
go build -ldflags "-X 'github.com/chainloop-dev/chainloop/app/cli/cmd.defaultCasAPI=api.cas.acme.com:443'" app/cli/main.go
103103
```
104104

105-
**Example 3** Set both the Artifacts CAS and Control Plane endpoints:
105+
**Example 3** Set both the Artifacts CAS and Control Plane endpoints. We use two variables here: `defaultCasAPI` and `defaultCpAPI`.
106106

107107
```
108-
go build -ldflags "-X 'github.com/chainloop-dev/chainloop/app/cli/cmd.defaultCasApi=api.cas.acme.com:443' -X 'github.com/chainloop-dev/chainloop/app/cli/cmd.defaultCpApi=api.cp.acme.com:443'" app/cli/main.go
108+
go build -ldflags "-X 'github.com/chainloop-dev/chainloop/app/cli/cmd.defaultCasAPI=api.cas.acme.com:443' -X 'github.com/chainloop-dev/chainloop/app/cli/cmd.defaultCpAPI=api.cp.acme.com:443'" app/cli/main.go
109109
```

0 commit comments

Comments
 (0)