diff --git a/cmd/mirror_show.go b/cmd/mirror_show.go index 97830cd4..819f216d 100644 --- a/cmd/mirror_show.go +++ b/cmd/mirror_show.go @@ -21,7 +21,7 @@ func aptlyMirrorShow(cmd *commander.Command, args []string) error { jsonFlag := cmd.Flag.Lookup("json").Value.Get().(bool) if jsonFlag { - return aptlyMirrorShowJson(cmd, args) + return aptlyMirrorShowJSON(cmd, args) } return aptlyMirrorShowTxt(cmd, args) @@ -93,7 +93,7 @@ func aptlyMirrorShowTxt(cmd *commander.Command, args []string) error { return err } -func aptlyMirrorShowJson(cmd *commander.Command, args []string) error { +func aptlyMirrorShowJSON(cmd *commander.Command, args []string) error { var err error name := args[0] diff --git a/cmd/publish_show.go b/cmd/publish_show.go index ff2c810b..3b9ec4e3 100644 --- a/cmd/publish_show.go +++ b/cmd/publish_show.go @@ -18,7 +18,7 @@ func aptlyPublishShow(cmd *commander.Command, args []string) error { jsonFlag := cmd.Flag.Lookup("json").Value.Get().(bool) if jsonFlag { - return aptlyPublishShowJson(cmd, args) + return aptlyPublishShowJSON(cmd, args) } return aptlyPublishShowTxt(cmd, args) @@ -76,7 +76,7 @@ func aptlyPublishShowTxt(cmd *commander.Command, args []string) error { return err } -func aptlyPublishShowJson(cmd *commander.Command, args []string) error { +func aptlyPublishShowJSON(cmd *commander.Command, args []string) error { var err error distribution := args[0] diff --git a/cmd/repo_show.go b/cmd/repo_show.go index 6344d323..6a0be42d 100644 --- a/cmd/repo_show.go +++ b/cmd/repo_show.go @@ -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] diff --git a/cmd/snapshot_show.go b/cmd/snapshot_show.go index 5d5d9e7b..0682a732 100644 --- a/cmd/snapshot_show.go +++ b/cmd/snapshot_show.go @@ -19,7 +19,7 @@ func aptlySnapshotShow(cmd *commander.Command, args []string) error { jsonFlag := cmd.Flag.Lookup("json").Value.Get().(bool) if jsonFlag { - return aptlySnapshotShowJson(cmd, args) + return aptlySnapshotShowJSON(cmd, args) } return aptlySnapshotShowTxt(cmd, args) @@ -85,7 +85,7 @@ func aptlySnapshotShowTxt(cmd *commander.Command, args []string) error { return err } -func aptlySnapshotShowJson(cmd *commander.Command, args []string) error { +func aptlySnapshotShowJSON(cmd *commander.Command, args []string) error { var err error name := args[0]