download set with c= to match every host of a cluster
This commit is contained in:
@@ -79,12 +79,11 @@ const ClusterAccess = {
|
||||
generateDownloadSet() {
|
||||
event.preventDefault()
|
||||
|
||||
const hosts = this.hostCount ? (this.state.Hosts||[]).filter(h => h.Cluster == this.cluster.Name) : []
|
||||
const items = hosts.map(h => ({
|
||||
const items = [{
|
||||
Kind: "host",
|
||||
Name: h.Name,
|
||||
Name: "c=" + this.cluster.Name,
|
||||
Assets: this.selectedAssetList,
|
||||
}))
|
||||
}]
|
||||
|
||||
fetch('/sign-download-set', {
|
||||
method: 'POST',
|
||||
|
||||
Reference in New Issue
Block a user