mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-30 04:20:53 +00:00
golint: "Json" in func name should be "JSON".
This commit is contained in:
committed by
Lorenzo Bolla
parent
c1cdb69f56
commit
9aa9917952
+2
-2
@@ -18,7 +18,7 @@ func aptlyMirrorList(cmd *commander.Command, args []string) error {
|
||||
jsonFlag := cmd.Flag.Lookup("json").Value.Get().(bool)
|
||||
|
||||
if jsonFlag {
|
||||
return aptlyMirrorListJson(cmd, args)
|
||||
return aptlyMirrorListJSON(cmd, args)
|
||||
}
|
||||
|
||||
return aptlyMirrorListTxt(cmd, args)
|
||||
@@ -65,7 +65,7 @@ func aptlyMirrorListTxt(cmd *commander.Command, args []string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
func aptlyMirrorListJson(cmd *commander.Command, args []string) error {
|
||||
func aptlyMirrorListJSON(cmd *commander.Command, args []string) error {
|
||||
var err error
|
||||
|
||||
repos := make([]*deb.RemoteRepo, context.NewCollectionFactory().RemoteRepoCollection().Len())
|
||||
|
||||
Reference in New Issue
Block a user