mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-07-25 13:37:51 +00:00
golint: "Json" in func name should be "JSON".
This commit is contained in:
committed by
Lorenzo Bolla
parent
5b8c909ac3
commit
c1cdb69f56
+2
-2
@@ -19,7 +19,7 @@ func aptlyRepoShow(cmd *commander.Command, args []string) error {
|
||||
jsonFlag := cmd.Flag.Lookup("json").Value.Get().(bool)
|
||||
|
||||
if jsonFlag {
|
||||
return aptlyRepoShowJson(cmd, args)
|
||||
return aptlyRepoShowJSON(cmd, args)
|
||||
}
|
||||
|
||||
return aptlyRepoShowTxt(cmd, args)
|
||||
@@ -58,7 +58,7 @@ func aptlyRepoShowTxt(cmd *commander.Command, args []string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
func aptlyRepoShowJson(cmd *commander.Command, args []string) error {
|
||||
func aptlyRepoShowJSON(cmd *commander.Command, args []string) error {
|
||||
var err error
|
||||
|
||||
name := args[0]
|
||||
|
||||
Reference in New Issue
Block a user