Skip to content

Commit

Permalink
Send notification changes to message bus (IceWhaleTech#861)
Browse files Browse the repository at this point in the history
  • Loading branch information
LinkLeong authored Feb 6, 2023
1 parent 76bc6e6 commit 173997c
Show file tree
Hide file tree
Showing 18 changed files with 2,436 additions and 158 deletions.
6 changes: 3 additions & 3 deletions cmd/migration-tool/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ import (

interfaces "github.com/IceWhaleTech/CasaOS-Common"
"github.com/IceWhaleTech/CasaOS-Common/utils/systemctl"
"github.com/IceWhaleTech/CasaOS/common"
"github.com/IceWhaleTech/CasaOS/pkg/config"
"github.com/IceWhaleTech/CasaOS/pkg/sqlite"
"github.com/IceWhaleTech/CasaOS/service"
"github.com/IceWhaleTech/CasaOS/types"
"gorm.io/gorm"
)

Expand All @@ -47,7 +47,7 @@ func init() {
flag.Parse()

if *versionFlag {
fmt.Println("v" + types.CURRENTVERSION)
fmt.Println("v" + common.VERSION)
os.Exit(0)
}

Expand Down Expand Up @@ -86,7 +86,7 @@ func init() {
sqliteDB = sqlite.GetDb(dbFlag)
// gredis.GetRedisConn(config.RedisInfo),

service.MyService = service.NewService(sqliteDB, "", nil)
service.MyService = service.NewService(sqliteDB, "")
}

func main() {
Expand Down
Loading

0 comments on commit 173997c

Please sign in to comment.