Skip to content

Commit

Permalink
Merge pull request #9 from KierranM/fix-nuget
Browse files Browse the repository at this point in the history
Fix nuget config after API change
  • Loading branch information
Dillon Giacoppo authored Apr 28, 2019
2 parents 3b64dad + 2a0fde4 commit 4bf58fc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion artifactory/v1/repositories.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ type RemoteRepository struct {
MaxUniqueTags *int `json:"maxUniqueTags,omitempty"`
MismatchingMimeTypesOverrideList *string `json:"mismatchingMimeTypesOverrideList,omitempty"`
MissedRetrievalCachePeriodSecs *int `json:"missedRetrievalCachePeriodSecs,omitempty"`
Nuget *Nuget `json:"nuget,omitempty"`
Offline *bool `json:"offline,omitempty"`
Password *string `json:"password,omitempty"`
PropagateQueryParams *bool `json:"propagateQueryParams,omitempty"`
Expand All @@ -234,6 +233,12 @@ type RemoteRepository struct {
VcsGitDownloadUrl *string `json:"vcsGitDownloadUrl,omitempty"`
ClientTLSCertificate *string `json:"clientTlsCertificate,omitempty"`
PyPiRegistryUrl *string `json:"pyPiRegistryUrl,omitempty"`
// Deprecated since 6.9. Replaced with fields FeedContextPath, DownloadContextPath, V3FeedUrl below
Nuget *Nuget `json:"nuget,omitempty"`
// Replaces Nuget struct since 6.9. Mutually exclusive with Nuget field
FeedContextPath *string `json:"feedContextPath,omitempty"`
DownloadContextPath *string `json:"downloadContextPath,omitempty"`
V3FeedUrl *string `json:"v3FeedUrl,omitempty"`
}

func (r RemoteRepository) String() string {
Expand Down

0 comments on commit 4bf58fc

Please sign in to comment.