Skip to content

Commit f8e04ee

Browse files
authored
Merge pull request #273 from CybercentreCanada/integration/harbor_dev
service_delta fields needs to be optional
2 parents 3e18953 + 12ed26f commit f8e04ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assemblyline/odm/models/service_delta.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class DockerConfigDelta(odm.Model):
1616
image = odm.Optional(odm.Keyword()) # The docker image and tag, optionally including registry in the normal way
1717
registry_username = odm.Optional(odm.Keyword()) # The username to use when pulling the image
1818
registry_password = odm.Optional(odm.Keyword()) # The password or token to use when pulling the image
19-
registry_type = odm.Enum(values=["docker", "harbor"], default='docker') # The type of registry (Docker, Harbor)
19+
registry_type = odm.Optional(odm.Enum(values=["docker", "harbor"])) # The type of registry (Docker, Harbor)
2020
ports = odm.Optional(odm.List(odm.Keyword()))
2121
ram_mb = odm.Optional(odm.Integer())
2222
ram_mb_min = odm.Optional(odm.Integer())

0 commit comments

Comments
 (0)