mirror of
https://github.com/fankes/beszel.git
synced 2025-10-20 02:09:28 +08:00
remove cobra dependency for agent
This commit is contained in:
@@ -8,10 +8,9 @@ import (
|
||||
|
||||
"github.com/blang/semver"
|
||||
"github.com/rhysd/go-github-selfupdate/selfupdate"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
func UpdateBeszel(cmd *cobra.Command, args []string) {
|
||||
func UpdateBeszel() {
|
||||
var latest *selfupdate.Release
|
||||
var found bool
|
||||
var err error
|
||||
|
Reference in New Issue
Block a user