Skip to content

Commit

Permalink
Improve comment (#2079)
Browse files Browse the repository at this point in the history
  • Loading branch information
kislaykishore authored Jun 28, 2024
1 parent bc27ee8 commit 252d1a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ of Cloud Storage FUSE, see https://cloud.google.com/storage/docs/gcs-fuse.`,

func initConfig(v *viper.Viper) func() {
// Returning a function instead of using a package-level variable since it
// allows for the viper instance to be GC'ed.
// allows for the viper instance to be garbage-collected.
return func() {
if cfgFile != "" {
cfgFile, err := util.GetResolvedPath(cfgFile)
Expand Down

0 comments on commit 252d1a8

Please sign in to comment.