Skip to content

Commit

Permalink
determine if existing resource is involved in a better way
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitriy Kalinin committed Nov 10, 2020
1 parent 4544240 commit c5162f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kapp/clusterapply/changes_view.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func (v *ChangesView) Print(ui ui.UI) {
v.waitOpCode(view.WaitOp()),
)

if resource.IsProvisioned() {
if view.ExistingResource() != nil {
syncVal := NewValueResourceConverged(view.ExistingResource())
row = append(row, syncVal.StateVal, syncVal.ReasonVal)
} else {
Expand Down

0 comments on commit c5162f2

Please sign in to comment.