You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: use the current component version for the default resource version (#684)
<!-- markdownlint-disable MD041 -->
#### What this PR does / why we need it
Fixes#629
#### Which issue(s) this PR fixes
<!--
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->
---------
Signed-off-by: Gergely Brautigam <[email protected]>
// This assertion verifies that the resource version used is the component descriptor version
1126
+
// (v1.2.3) rather than the reconciled version (v0.9.9)
1127
+
args:=cache.PushDataCallingArgumentsOnCall(0)
1128
+
assert.Equal(t, data, args.Content)
1129
+
assert.Equal(t, componentVersion, args.Version, "resource version should default to component descriptor version (v1.2.3), not reconciled version (v0.9.9)")
0 commit comments