mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-05 22:08:27 +00:00
golint: "Json" in func name should be "JSON".
This commit is contained in:
committed by
Lorenzo Bolla
parent
c1cdb69f56
commit
9aa9917952
@@ -18,7 +18,7 @@ func aptlyRepoList(cmd *commander.Command, args []string) error {
|
||||
jsonFlag := cmd.Flag.Lookup("json").Value.Get().(bool)
|
||||
|
||||
if jsonFlag {
|
||||
return aptlyRepoListJson(cmd, args)
|
||||
return aptlyRepoListJSON(cmd, args)
|
||||
}
|
||||
|
||||
return aptlyRepoListTxt(cmd, args)
|
||||
@@ -71,7 +71,7 @@ func aptlyRepoListTxt(cmd *commander.Command, args []string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
func aptlyRepoListJson(cmd *commander.Command, args []string) error {
|
||||
func aptlyRepoListJSON(cmd *commander.Command, args []string) error {
|
||||
var err error
|
||||
|
||||
repos := make([]*deb.LocalRepo, context.NewCollectionFactory().LocalRepoCollection().Len())
|
||||
|
||||
Reference in New Issue
Block a user