Skip to content

Commit

Permalink
fix: docs readability
Browse files Browse the repository at this point in the history
  • Loading branch information
noahmmcgivern committed Sep 19, 2023
1 parent 0ab4f63 commit 814f2bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/install/validation/integration_validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ func ValidateIntegration(integrationName string) (string, error) {
// given configPath, returning a configType{} containing the
// defined integrations and their respective environments.
// Returns an empty configType{} and an error if:
// - The file does not exist
// - The file can not be read
// - The file cannot be unmarshalled to a configType{}
// 1.) The file does not exist
// 2.) The file can not be read
// 3.) The file cannot be unmarshalled to a configType{}
func readConfig(configPath string) (configType, error) {
if _, err := os.Stat(configPath); errors.Is(err, os.ErrNotExist) {
return configType{}, err
Expand Down

0 comments on commit 814f2bc

Please sign in to comment.