fix: migrate to gitea
This commit is contained in:
@ -3,10 +3,10 @@ package daemon
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"git.cryptic.systems/volker.raschek/flucky/pkg/config"
|
||||
"git.cryptic.systems/volker.raschek/flucky/pkg/daemon"
|
||||
"git.cryptic.systems/volker.raschek/go-logger"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/volker-raschek/flucky/pkg/config"
|
||||
"github.com/volker-raschek/flucky/pkg/daemon"
|
||||
"github.com/volker-raschek/go-logger/pkg/logger"
|
||||
)
|
||||
|
||||
// InitCmd initialize all daemon subcommands
|
||||
@ -37,7 +37,7 @@ func run(cmd *cobra.Command, args []string) error {
|
||||
// return fmt.Errorf("No loglevel defined: %v", err)
|
||||
// }
|
||||
|
||||
flogger := logger.NewDefaultLogger(logger.LogLevelDebug)
|
||||
flogger := logger.NewLogger(logger.LogLevelDebug)
|
||||
|
||||
cnf, err := config.Read(configFile)
|
||||
if err != nil {
|
||||
|
@ -8,11 +8,11 @@ import (
|
||||
"path/filepath"
|
||||
"time"
|
||||
|
||||
"git.cryptic.systems/volker.raschek/flucky/cli/daemon"
|
||||
"git.cryptic.systems/volker.raschek/flucky/cli/sensor"
|
||||
"git.cryptic.systems/volker.raschek/flucky/pkg/config"
|
||||
"git.cryptic.systems/volker.raschek/flucky/pkg/types"
|
||||
"github.com/Masterminds/semver"
|
||||
"github.com/volker-raschek/flucky/cli/daemon"
|
||||
"github.com/volker-raschek/flucky/cli/sensor"
|
||||
"github.com/volker-raschek/flucky/pkg/config"
|
||||
"github.com/volker-raschek/flucky/pkg/types"
|
||||
|
||||
uuid "github.com/satori/go.uuid"
|
||||
"github.com/spf13/cobra"
|
||||
|
@ -5,13 +5,13 @@ import (
|
||||
"net/url"
|
||||
"os"
|
||||
|
||||
"git.cryptic.systems/volker.raschek/flucky/pkg/cli"
|
||||
"git.cryptic.systems/volker.raschek/flucky/pkg/config"
|
||||
"git.cryptic.systems/volker.raschek/flucky/pkg/repository"
|
||||
"git.cryptic.systems/volker.raschek/flucky/pkg/types"
|
||||
"git.cryptic.systems/volker.raschek/go-logger"
|
||||
uuid "github.com/satori/go.uuid"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/volker-raschek/flucky/pkg/cli"
|
||||
"github.com/volker-raschek/flucky/pkg/config"
|
||||
"github.com/volker-raschek/flucky/pkg/repository"
|
||||
"github.com/volker-raschek/flucky/pkg/types"
|
||||
"github.com/volker-raschek/go-logger/pkg/logger"
|
||||
)
|
||||
|
||||
// InitCmd initialize all sensor subcommands
|
||||
@ -174,7 +174,7 @@ func addSensor(cmd *cobra.Command, args []string) error {
|
||||
// return fmt.Errorf("No loglevel defined")
|
||||
// }
|
||||
|
||||
flogger := logger.NewDefaultLogger(logger.LogLevelDebug)
|
||||
flogger := logger.NewLogger(logger.LogLevelDebug)
|
||||
|
||||
repo, err := repository.New(dsnURL, flogger)
|
||||
if err != nil {
|
||||
@ -218,7 +218,7 @@ func disableSensor(cmd *cobra.Command, args []string) error {
|
||||
// return fmt.Errorf("No loglevel defined")
|
||||
// }
|
||||
|
||||
flogger := logger.NewDefaultLogger(logger.LogLevelDebug)
|
||||
flogger := logger.NewLogger(logger.LogLevelDebug)
|
||||
|
||||
repo, err := repository.New(dsnURL, flogger)
|
||||
if err != nil {
|
||||
@ -250,7 +250,7 @@ func enableSensor(cmd *cobra.Command, args []string) error {
|
||||
// return fmt.Errorf("No loglevel defined")
|
||||
// }
|
||||
|
||||
flogger := logger.NewDefaultLogger(logger.LogLevelDebug)
|
||||
flogger := logger.NewLogger(logger.LogLevelDebug)
|
||||
|
||||
repo, err := repository.New(dsnURL, flogger)
|
||||
if err != nil {
|
||||
@ -282,7 +282,7 @@ func listSensors(cmd *cobra.Command, args []string) error {
|
||||
// return fmt.Errorf("No loglevel defined")
|
||||
// }
|
||||
|
||||
flogger := logger.NewDefaultLogger(logger.LogLevelDebug)
|
||||
flogger := logger.NewLogger(logger.LogLevelDebug)
|
||||
|
||||
repo, err := repository.New(dsnURL, flogger)
|
||||
if err != nil {
|
||||
@ -325,7 +325,7 @@ func removeSensor(cmd *cobra.Command, args []string) error {
|
||||
// return fmt.Errorf("No loglevel defined")
|
||||
// }
|
||||
|
||||
flogger := logger.NewDefaultLogger(logger.LogLevelDebug)
|
||||
flogger := logger.NewLogger(logger.LogLevelDebug)
|
||||
|
||||
repo, err := repository.New(dsnURL, flogger)
|
||||
if err != nil {
|
||||
@ -357,7 +357,7 @@ func renameSensor(cmd *cobra.Command, args []string) error {
|
||||
// return fmt.Errorf("No loglevel defined")
|
||||
// }
|
||||
|
||||
flogger := logger.NewDefaultLogger(logger.LogLevelDebug)
|
||||
flogger := logger.NewLogger(logger.LogLevelDebug)
|
||||
|
||||
repo, err := repository.New(dsnURL, flogger)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user