Skip to content

Commit e8690a9

Browse files
dechristopherbemyak
authored andcommitted
fix: minor warnings
1 parent ac60a09 commit e8690a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmd/tegola/cmd/root.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ var (
2020
// parsed config
2121
conf config.Config
2222

23-
// require cache
23+
// RequireCache in this instance
2424
RequireCache bool
2525
)
2626

@@ -77,11 +77,11 @@ var RootCmd = &cobra.Command{
7777
Use: "tegola",
7878
Short: "tegola is a vector tile server",
7979
Long: fmt.Sprintf(`tegola is a vector tile server
80-
Version: %v`, build.Version),
80+
Version: %v`, build.Version),
8181
PersistentPreRunE: rootCmdValidatePersistent,
8282
}
8383

84-
func rootCmdValidatePersistent(cmd *cobra.Command, args []string) (err error) {
84+
func rootCmdValidatePersistent(cmd *cobra.Command, _ []string) (err error) {
8585
requireCache := RequireCache || cachecmd.RequireCache
8686
cmdName := cmd.CalledAs()
8787
switch cmdName {

0 commit comments

Comments
 (0)