Skip to content

Commit

Permalink
fix: DockerhubV2Data fix fields (#920)
Browse files Browse the repository at this point in the history
* fix: DockerhubV2Data fix fields

Signed-off-by: Darren Murray <[email protected]>
  • Loading branch information
dmurray-lacework authored Sep 22, 2022
1 parent ba3c356 commit cbf3e39
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions api/container_registries_dockerhub_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,9 @@ type DockerhubV2Data struct {
Credentials DockerhubV2Credentials `json:"credentials"`
RegistryDomain string `json:"registryDomain"`
RegistryType string `json:"registryType"`
RegistryNotifications bool `json:"registryNotifications"`
LimitByTag []string `json:"limitByTag"`
LimitByLabel []map[string]string `json:"limitByLabel"`
LimitByRep []string `json:"limitByRep"`
LimitNumImg int `json:"limitNumImg"`
RegistryNotifications *bool `json:"registryNotifications,omitempty"`
LimitByTag []string `json:"limitByTag,omitempty"`
LimitByLabel []map[string]string `json:"limitByLabel,omitempty"`
NonOSPackageEval bool `json:"nonOsPackageEval"`
}

Expand Down

0 comments on commit cbf3e39

Please sign in to comment.