We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b233b31 commit 6012c16Copy full SHA for 6012c16
artifactory/commands/utils/transferconfigbase.go
@@ -98,7 +98,7 @@ func (tcb *TransferConfigBase) ValidateAccessServerConnection(serverDetails *con
98
func (tcb *TransferConfigBase) ValidateDifferentServers() error {
99
// Avoid exporting and importing to the same server
100
log.Info("Verifying source and target servers are different...")
101
- if tcb.SourceServerDetails.GetArtifactoryUrl() != tcb.TargetServerDetails.GetArtifactoryUrl() {
+ if tcb.SourceServerDetails.GetArtifactoryUrl() == tcb.TargetServerDetails.GetArtifactoryUrl() {
102
return errorutils.CheckErrorf("The source and target Artifactory servers are identical, but should be different.")
103
}
104
0 commit comments