File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
dbaas/workflow/steps/mysql/flipperfox_migration Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ def do(self, workflow_dict):
2626 databaseinfraattr = workflow_dict ['source_secondary_ips' ][0 ]
2727
2828 infradns = DatabaseInfraDNSList .objects .get (
29- name__startswith = "{}." .format (databaseinfra .name ),
29+ dns__startswith = "{}." .format (databaseinfra .name ),
3030 type = FLIPPER )
3131 infradns .type = FOXHA
3232 infradns .save ()
@@ -74,7 +74,7 @@ def undo(self, workflow_dict):
7474 databaseinfraattr = workflow_dict ['source_secondary_ips' ][0 ]
7575
7676 dnslist = DatabaseInfraDNSList .objects .filter (
77- name__startswith = "{}." .format (databaseinfra .name ),
77+ dns__startswith = "{}." .format (databaseinfra .name ),
7878 type = FOXHA )
7979 if dnslist :
8080 infradns = dnslist [0 ]
You can’t perform that action at this time.
0 commit comments