Skip to content

Commit

Permalink
Use docs URLs that avoid a redirect (#3355)
Browse files Browse the repository at this point in the history
Avoid the index.html redirect

Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 authored Feb 19, 2024
1 parent 298f951 commit 63c1438
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ cnquery shell aws
> aws.ec2.instances{*}
```

[:books: To learn more, read the cnquery docs.](https://mondoo.com/docs/cnquery/home)
[:books: To learn more, read the cnquery docs.](https://mondoo.com/docs/cnquery/home/)

## Installation

Expand Down Expand Up @@ -196,7 +196,7 @@ There are so many things cnquery can do! Gather information about your infrastru

Explore:

- [cnquery docs](https://mondoo.com/docs/cnquery/home)
- [cnquery docs](https://mondoo.com/docs/cnquery/home/)
- [Query packs](https://github.com/mondoohq/cnquery-packs)
- [MQL introduction](https://mondoohq.github.io/mql-intro/index.html)
- [MQL language reference](https://mondoo.com/docs/mql/resources/)
Expand Down
2 changes: 1 addition & 1 deletion apps/cnquery/cmd/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ func (s Status) RenderCliStatus() {
log.Info().Msg(theme.DefaultTheme.Success("client authenticated successfully"))
} else if s.Client.PingPongError == nil {
log.Error().Err(s.Client.PingPongError).
Msgf("The Mondoo Platform credentials provided at %s didn't successfully authenticate with Mondoo Platform. Please re-authenticate with Mondoo Platform. To learn how, read https://mondoo.com/docs/cnspec/cnspec-adv-install/registration.",
Msgf("The Mondoo Platform credentials provided at %s didn't successfully authenticate with Mondoo Platform. Please re-authenticate with Mondoo Platform. To learn how, read https://mondoo.com/docs/cnspec/cnspec-adv-install/registration/.",
viper.ConfigFileUsed())
}

Expand Down
2 changes: 1 addition & 1 deletion explorer/scan/local_scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func (s *LocalScanner) Run(ctx context.Context, job *Job) (*explorer.ReportColle
"The Mondoo Platform credentials provided at "+viper.ConfigFileUsed()+
" didn't successfully authenticate with Mondoo Platform. "+
"Please re-authenticate with Mondoo Platform. "+
"To learn how, read https://mondoo.com/docs/cnspec/cnspec-adv-install/registration.")
"To learn how, read https://mondoo.com/docs/cnspec/cnspec-adv-install/registration/.")
}
return nil, err
}
Expand Down

0 comments on commit 63c1438

Please sign in to comment.