Fix multiple component in aptly graph. #36

This commit is contained in:
Andrey Smirnov
2014-06-04 17:04:05 +04:00
parent 20a7c5ae2d
commit 8be6911238

View File

@@ -121,7 +121,8 @@ func aptlyGraph(cmd *commander.Command, args []string) error {
"shape": "Mrecord",
"style": "filled",
"fillcolor": "darkolivegreen1",
"label": fmt.Sprintf("{Published %s/%s|comp: %s|arch: %s}", repo.Prefix, repo.Distribution, repo.Component, strings.Join(repo.Architectures, ", ")),
"label": fmt.Sprintf("{Published %s/%s|comp: %s|arch: %s}", repo.Prefix, repo.Distribution,
strings.Join(repo.Components(), " "), strings.Join(repo.Architectures, ", ")),
})
_, exists := existingNodes[repo.SourceUUID]