- Notifications
You must be signed in to change notification settings - Fork284
Playbook generator#1136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Playbook generator#1136
Changes from1 commit
e40e34c7a9d084c10a10cee6e93f32534796ec5ec214126d9edaaf7b37a0269b55102c1eb944e368391cb595e09ab0195a9e06e99f8ba26318ccbd10cce3453fe1cd8feb0d889a6fee829de126d17d25c027a244230e7802c626d3723d07716a07a70ebcad5241d747dd98818bc46b1d633c9429a03a427aef5a0a9eb7892e9c342File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
Operation enum in on_ingress_all_changes was not converted to yaml properly in output
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -358,7 +358,7 @@ def autogenerate_triggers(f: TextIO): | ||||||
| f"""\ | ||||||
| class {resource}{get_trigger_class_name(trigger_name)}Trigger(K8sBaseTrigger): | ||||||
| kind: Literal[\"{resource}\"] = \"{resource}\" | ||||||
| operation: Literal[{operation_type}] = {operation_type} | ||||||
| @staticmethod | ||||||
| def get_execution_event_type() -> type: | ||||||
| @@ -382,7 +382,7 @@ def get_execution_event_type() -> type: | ||||||
| f"""\ | ||||||
| class KubernetesAny{get_trigger_class_name(trigger_name)}Trigger(K8sBaseTrigger): | ||||||
| kind: Literal[\"{resource}\"] = \"{resource}\" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Critical bug: KubernetesAny triggers incorrectly set kind to last resource. The - kind: Literal["{resource}"] = "{resource}"+ kind: Literal["Any"] = "Any" 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents | ||||||
| operation: Literal[{operation_type}] = {operation_type} | ||||||
| @staticmethod | ||||||
| def get_execution_event_type() -> type: | ||||||
| @@ -439,3 +439,6 @@ def main(): | ||||||
| if __name__ == "__main__": | ||||||
| main() | ||||||
| print("Done. Before committing, it is recommended to run:") | ||||||
| print("poetry run isort src/robusta/integrations/kubernetes/autogenerated") | ||||||
| print("poetry run black src/robusta/integrations/kubernetes/autogenerated") | ||||||
Uh oh!
There was an error while loading.Please reload this page.