Update Source API to v1beta2
The creation of oldConditions, statusableConditions and reconcilableConditions is an adhoc solution to deal with the upstream changes on `pkg/apis/meta`, which are yet to be replicated across other Flux API components. Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
This commit is contained in:
committed by
Hidde Beydals
parent
a929d24924
commit
e5ede275f8
@@ -25,7 +25,7 @@ import (
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/fluxcd/pkg/runtime/dependency"
|
||||
"github.com/fluxcd/pkg/apis/meta"
|
||||
)
|
||||
|
||||
func TestCompatibleVersion(t *testing.T) {
|
||||
@@ -88,7 +88,7 @@ func TestMakeDependsOn(t *testing.T) {
|
||||
"someNSD/",
|
||||
"",
|
||||
}
|
||||
want := []dependency.CrossNamespaceDependencyReference{
|
||||
want := []meta.NamespacedObjectReference{
|
||||
{Namespace: "someNSA", Name: "someNameA"},
|
||||
{Namespace: "someNSB", Name: "someNameB"},
|
||||
{Namespace: "", Name: "someNameC"},
|
||||
|
||||
Reference in New Issue
Block a user