Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Commit

Permalink
EVEREST-464 clear message if the cli reapplies configuration (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
gen1us2k authored Oct 10, 2023
1 parent dbb32e2 commit 4f2fa6e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/kubernetes/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,8 @@ func (k *Kubernetes) applyResources(ctx context.Context) ([]unstructured.Unstruc
applyFile := func(ctx context.Context) (bool, error) {
k.l.Debugf("Applying %q file", f)
if err := k.client.ApplyFile(data); err != nil {
k.l.Warn(errors.Join(err, fmt.Errorf("cannot apply %q file", f)))
k.l.Debug(errors.Join(err, fmt.Errorf("cannot apply %q file", f)))
k.l.Warn(fmt.Errorf("cannot apply %q file. Reapplying it...", f))
return false, nil
}
return true, nil
Expand Down

0 comments on commit 4f2fa6e

Please sign in to comment.