mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-01 04:40:38 +00:00
golint: "Json" in func name should be "JSON".
This commit is contained in:
committed by
Lorenzo Bolla
parent
c1cdb69f56
commit
9aa9917952
@@ -17,7 +17,7 @@ func aptlySnapshotList(cmd *commander.Command, args []string) error {
|
||||
jsonFlag := cmd.Flag.Lookup("json").Value.Get().(bool)
|
||||
|
||||
if jsonFlag {
|
||||
return aptlySnapshotListJson(cmd, args)
|
||||
return aptlySnapshotListJSON(cmd, args)
|
||||
}
|
||||
|
||||
return aptlySnapshotListTxt(cmd, args)
|
||||
@@ -59,7 +59,7 @@ func aptlySnapshotListTxt(cmd *commander.Command, args []string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
func aptlySnapshotListJson(cmd *commander.Command, args []string) error {
|
||||
func aptlySnapshotListJSON(cmd *commander.Command, args []string) error {
|
||||
var err error
|
||||
|
||||
sortMethodString := cmd.Flag.Lookup("sort").Value.Get().(string)
|
||||
|
||||
Reference in New Issue
Block a user