Skip to content

Commit

Permalink
fix unknown buildinfo.Version() value by add fixed v1.3.15 there for …
Browse files Browse the repository at this point in the history
…skywire-cli log command
  • Loading branch information
mrpalide committed Dec 28, 2023
1 parent a5cc054 commit f7d4137
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/skywire-cli/commands/log/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import (
"github.com/skycoin/dmsg/pkg/dmsghttp"
"github.com/spf13/cobra"

"github.com/skycoin/skywire-utilities/pkg/buildinfo"
"github.com/skycoin/skywire-utilities/pkg/cipher"
"github.com/skycoin/skywire-utilities/pkg/cmdutil"
"github.com/skycoin/skywire-utilities/pkg/logging"
Expand Down Expand Up @@ -57,7 +56,7 @@ func init() {
logCmd.Flags().StringVarP(&fetchFrom, "pks", "k", "", "fetch only from specific public keys ; semicolon separated")
logCmd.Flags().StringVarP(&writeDir, "dir", "d", "log_collecting", "save files to specified dir")
logCmd.Flags().BoolVarP(&deleteOnErrors, "clean", "c", false, "delete files and folders on errors")
logCmd.Flags().StringVar(&minv, "minv", buildinfo.Version(), "minimum visor version to fetch from")
logCmd.Flags().StringVar(&minv, "minv", "v1.3.15", "minimum visor version to fetch from")
logCmd.Flags().StringVar(&incVer, "include-versions", "", "list of version that not satisfy our minimum version condition, but we want include them")
logCmd.Flags().IntVarP(&duration, "duration", "n", 0, "number of days before today to fetch transport logs for")
logCmd.Flags().BoolVar(&allVisors, "all", false, "consider all visors ; no version filtering")
Expand Down

0 comments on commit f7d4137

Please sign in to comment.