Skip to content

Commit

Permalink
🧹 update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-rock committed Aug 1, 2023
1 parent 72312af commit 99629b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/cnspec/cmd/vuln.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ configure your Azure credentials and have SSH access to your virtual machines.`,
log.Fatal().Err(err).Msg("failed to prepare config")
}

unauthedErrorMsg := "vulnerability scan requires authentication, future versions will not have this restriction, login with `cnspec login --token`"
unauthedErrorMsg := "vulnerability scan requires authentication, login with `cnspec login --token`"
if conf.UpstreamConfig == nil {
log.Fatal().Msg(unauthedErrorMsg)
}
Expand Down

0 comments on commit 99629b1

Please sign in to comment.