Skip to content

Commit

Permalink
Cleanup & Reorg startup scripts (#691)
Browse files Browse the repository at this point in the history
* Cleanup & Reorg startup scripts
  • Loading branch information
ryanmerolle authored Feb 3, 2022
1 parent b9dff0d commit 8860d32
Show file tree
Hide file tree
Showing 42 changed files with 1 addition and 57 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
42 changes: 0 additions & 42 deletions startup_scripts/140_clusters.py

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
15 changes: 0 additions & 15 deletions startup_scripts/165_cluster_groups.py

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
params["assigned_object_id"] = Interface.objects.get(**query).id
else:
query = {field: params.pop(assoc)}

params[assoc] = model.objects.get(**query)

ip_address, created = IPAddress.objects.get_or_create(**params)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 8860d32

Please sign in to comment.