mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-28 09:10:09 +00:00
chore: fix some typos in comments (#1529)
Signed-off-by: kindknow <iturf@sina.com> Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com>
This commit is contained in:
parent
5a4901f7bd
commit
ddabbac317
@ -23,7 +23,7 @@
|
|||||||
<p align="center">
|
<p align="center">
|
||||||
<b>
|
<b>
|
||||||
Want to see Kubeshark in action, right now? Visit this
|
Want to see Kubeshark in action, right now? Visit this
|
||||||
<a href="https://demo.kubeshark.co/">live demo deploymenet</a> of Kubeshark.
|
<a href="https://demo.kubeshark.co/">live demo deployment</a> of Kubeshark.
|
||||||
</b>
|
</b>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ func startProxyReportErrorIfAny(kubernetesProvider *kubernetes.Provider, ctx con
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error().
|
log.Error().
|
||||||
Err(errormessage.FormatError(err)).
|
Err(errormessage.FormatError(err)).
|
||||||
Msg(fmt.Sprintf("Error occured while running K8s proxy. Try setting different port using --%s", proxyPortLabel))
|
Msg(fmt.Sprintf("Error occurred while running K8s proxy. Try setting different port using --%s", proxyPortLabel))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -42,7 +42,7 @@ func startProxyReportErrorIfAny(kubernetesProvider *kubernetes.Provider, ctx con
|
|||||||
log.Error().
|
log.Error().
|
||||||
Str("pod-regex", podRegex.String()).
|
Str("pod-regex", podRegex.String()).
|
||||||
Err(errormessage.FormatError(err)).
|
Err(errormessage.FormatError(err)).
|
||||||
Msg(fmt.Sprintf("Error occured while running port forward. Try setting different port using --%s", proxyPortLabel))
|
Msg(fmt.Sprintf("Error occurred while running port forward. Try setting different port using --%s", proxyPortLabel))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ func InitConfig(cmd *cobra.Command) error {
|
|||||||
var err error
|
var err error
|
||||||
DebugMode, err = cmd.Flags().GetBool(DebugFlag)
|
DebugMode, err = cmd.Flags().GetBool(DebugFlag)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error().Err(err).Msg(fmt.Sprintf("Can't recieve '%s' flag", DebugFlag))
|
log.Error().Err(err).Msg(fmt.Sprintf("Can't receive '%s' flag", DebugFlag))
|
||||||
}
|
}
|
||||||
|
|
||||||
if DebugMode {
|
if DebugMode {
|
||||||
|
Loading…
Reference in New Issue
Block a user