Refactor by separating AptlyContext into separate package. #116

This commit is contained in:
Andrey Smirnov committed 2014-10-06 21:54:15 +04:00
1 parent 159608cef3
commit 8a787d2c35
29 files changed
+463 -413

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ func aptlyMirrorDrop(cmd *commander.Command, args []string) error {
return fmt.Errorf("unable to drop: %s", err)
}
force := context.flags.Lookup("force").Value.Get().(bool)
force := context.Flags().Lookup("force").Value.Get().(bool)
if !force {
snapshots := context.CollectionFactory().SnapshotCollection().ByRemoteRepoSource(repo)