Skip to content

Unable to create smart remote repositories on Edge Nodes #359

@fsamin

Description

@fsamin

Describe the bug
I'm am unable to create a smart remote repositories using RemoteRepositoryBaseParamsstruct.
The JSON annotation should be enabled instead of enables here:

type ContentSynchronisation struct {

To Reproduce
Try to create a remote repository on a Edge Node with ContentSynchronisation.Enabled set true (as expected by the API, and mentioned the documentation)

With enables in the JSON payload, i have the error Only smart remote repositories are supported with Artifactory Edge license

If I change my payload and juste replace enables by enabled, my repository is created.

Expected behavior
The repository should be created

Screenshots
n/a

Versions

  • JFrog Go client version: 0.23.1
  • JFrog Go client operating system: MacOS
  • Artifactory version: 7.18.6

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions