Remove legacy client-manager platform path
This commit is contained in:
@@ -282,15 +282,6 @@ func (svc *CoreService) distributionArtifactDownloadPresentation(artifactID stri
|
||||
}
|
||||
}
|
||||
}
|
||||
clients, err := svc.store.ClientManagerDistributions().List(domain.ClientManagerDistributionFilter{})
|
||||
if err == nil {
|
||||
for _, distribution := range clients {
|
||||
if distribution.ArtifactID == artifactID {
|
||||
format := packageFormatForTarget(distribution.TargetOS)
|
||||
return distributionPackageFilename(distribution.ProfileKey, distribution.TargetOS, distribution.TargetArch, format), packageContentType(format), true
|
||||
}
|
||||
}
|
||||
}
|
||||
return "", "", false
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user