fix(cmd): remove obsolete semver
This commit is contained in:
@ -3,7 +3,6 @@ package compression
|
||||
import (
|
||||
"log"
|
||||
|
||||
"github.com/Masterminds/semver"
|
||||
"github.com/go-flucky/flucky/pkg/storage"
|
||||
"github.com/go-flucky/flucky/pkg/storage/logfile"
|
||||
|
||||
@ -13,7 +12,6 @@ import (
|
||||
var (
|
||||
configFile *string
|
||||
round float64
|
||||
version *semver.Version
|
||||
)
|
||||
|
||||
var compressionCmd = &cobra.Command{
|
||||
@ -42,9 +40,8 @@ var compressionCmd = &cobra.Command{
|
||||
},
|
||||
}
|
||||
|
||||
func InitCmd(cmd *cobra.Command, cnfFile *string, sverion *semver.Version) {
|
||||
func InitCmd(cmd *cobra.Command, cnfFile *string) {
|
||||
configFile = cnfFile
|
||||
version = sverion
|
||||
|
||||
cmd.AddCommand(compressionCmd)
|
||||
compressionCmd.Flags().Float64Var(&round, "round", 0, "Round values. The value 0 deactivates the function")
|
||||
|
Reference in New Issue
Block a user