mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-22 07:31:47 +00:00
Merge pull request #290 from fluxcd/bug-get-break
Remove faulty `break` from get commands
This commit is contained in:
commit
e0fbf8920d
5 changed files with 0 additions and 5 deletions
|
|
@ -78,7 +78,6 @@ func getHelmReleaseCmdRun(cmd *cobra.Command, args []string) error {
|
||||||
logger.Failuref("%s %s", helmRelease.GetName(), c.Message)
|
logger.Failuref("%s %s", helmRelease.GetName(), c.Message)
|
||||||
}
|
}
|
||||||
isInitialized = true
|
isInitialized = true
|
||||||
break
|
|
||||||
}
|
}
|
||||||
if !isInitialized {
|
if !isInitialized {
|
||||||
logger.Failuref("%s is not ready", helmRelease.GetName())
|
logger.Failuref("%s is not ready", helmRelease.GetName())
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,6 @@ func getKsCmdRun(cmd *cobra.Command, args []string) error {
|
||||||
logger.Failuref("%s %s", kustomization.GetName(), c.Message)
|
logger.Failuref("%s %s", kustomization.GetName(), c.Message)
|
||||||
}
|
}
|
||||||
isInitialized = true
|
isInitialized = true
|
||||||
break
|
|
||||||
}
|
}
|
||||||
if !isInitialized {
|
if !isInitialized {
|
||||||
logger.Failuref("%s is not ready", kustomization.GetName())
|
logger.Failuref("%s is not ready", kustomization.GetName())
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,6 @@ func getSourceBucketCmdRun(cmd *cobra.Command, args []string) error {
|
||||||
logger.Failuref("%s %s", source.GetName(), c.Message)
|
logger.Failuref("%s %s", source.GetName(), c.Message)
|
||||||
}
|
}
|
||||||
isInitialized = true
|
isInitialized = true
|
||||||
break
|
|
||||||
}
|
}
|
||||||
if !isInitialized {
|
if !isInitialized {
|
||||||
logger.Failuref("%s is not ready", source.GetName())
|
logger.Failuref("%s is not ready", source.GetName())
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,6 @@ func getSourceGitCmdRun(cmd *cobra.Command, args []string) error {
|
||||||
logger.Failuref("%s %s", source.GetName(), c.Message)
|
logger.Failuref("%s %s", source.GetName(), c.Message)
|
||||||
}
|
}
|
||||||
isInitialized = true
|
isInitialized = true
|
||||||
break
|
|
||||||
}
|
}
|
||||||
if !isInitialized {
|
if !isInitialized {
|
||||||
logger.Failuref("%s is not ready", source.GetName())
|
logger.Failuref("%s is not ready", source.GetName())
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,6 @@ func getSourceHelmCmdRun(cmd *cobra.Command, args []string) error {
|
||||||
logger.Failuref("%s %s", source.GetName(), c.Message)
|
logger.Failuref("%s %s", source.GetName(), c.Message)
|
||||||
}
|
}
|
||||||
isInitialized = true
|
isInitialized = true
|
||||||
break
|
|
||||||
}
|
}
|
||||||
if !isInitialized {
|
if !isInitialized {
|
||||||
logger.Failuref("%s is not ready", source.GetName())
|
logger.Failuref("%s is not ready", source.GetName())
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue