Skip to content

Commit 6012c16

Browse files
Removing temp added file
1 parent b233b31 commit 6012c16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

artifactory/commands/utils/transferconfigbase.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func (tcb *TransferConfigBase) ValidateAccessServerConnection(serverDetails *con
9898
func (tcb *TransferConfigBase) ValidateDifferentServers() error {
9999
// Avoid exporting and importing to the same server
100100
log.Info("Verifying source and target servers are different...")
101-
if tcb.SourceServerDetails.GetArtifactoryUrl() != tcb.TargetServerDetails.GetArtifactoryUrl() {
101+
if tcb.SourceServerDetails.GetArtifactoryUrl() == tcb.TargetServerDetails.GetArtifactoryUrl() {
102102
return errorutils.CheckErrorf("The source and target Artifactory servers are identical, but should be different.")
103103
}
104104

0 commit comments

Comments
 (0)