fix(cmd): remove obsolete semver
This commit is contained in:
@ -3,7 +3,6 @@ package convert
|
||||
import (
|
||||
"log"
|
||||
|
||||
"github.com/Masterminds/semver"
|
||||
"github.com/go-flucky/flucky/pkg/storage"
|
||||
"github.com/go-flucky/flucky/pkg/storage/logfile"
|
||||
|
||||
@ -14,8 +13,6 @@ var (
|
||||
compression bool
|
||||
configFile *string
|
||||
round float64
|
||||
|
||||
version *semver.Version
|
||||
)
|
||||
|
||||
var convertCmd = &cobra.Command{
|
||||
@ -48,9 +45,8 @@ var convertCmd = &cobra.Command{
|
||||
}
|
||||
|
||||
// InitCmd ...
|
||||
func InitCmd(cmd *cobra.Command, cnfFile *string, sversion *semver.Version) {
|
||||
func InitCmd(cmd *cobra.Command, cnfFile *string) {
|
||||
configFile = cnfFile
|
||||
version = sversion
|
||||
|
||||
cmd.AddCommand(convertCmd)
|
||||
convertCmd.Flags().BoolVar(&compression, "compression", false, "Compress measured values")
|
||||
|
Reference in New Issue
Block a user