We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a971a79 commit 3cc993eCopy full SHA for 3cc993e
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