mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-04 05:10:40 +00:00
Move graph into deb/ package, passing collection factory. #169
This commit is contained in:
+2
-2
@@ -3,8 +3,8 @@ package cmd
|
||||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"github.com/smira/aptly/deb"
|
||||
"github.com/smira/commander"
|
||||
"github.com/smira/aptly/graph"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
@@ -20,7 +20,7 @@ func aptlyGraph(cmd *commander.Command, args []string) error {
|
||||
}
|
||||
|
||||
fmt.Printf("Generating graph...\n")
|
||||
graph, err := graph.BuildGraph(context)
|
||||
graph, err := deb.BuildGraph(context.CollectionFactory())
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user