diff --git a/cli/sync.ts b/cli/sync.ts index 5ff1cd1d46..e3e373e033 100644 --- a/cli/sync.ts +++ b/cli/sync.ts @@ -390,7 +390,7 @@ async function compareDynFSElement( } } return o; - } else if (k.endsWith("flow.yaml")) { + } else if (k.endsWith(".app.yaml")) { const o: any = yamlParse(v); const o2 = o["policy"]; @@ -403,6 +403,8 @@ async function compareDynFSElement( } } return o; + } else { + return o; } } for (const [k, v] of Object.entries(m1)) {