Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Commit

Permalink
pass ci try
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaxzhax committed Aug 24, 2020
1 parent 3819ce7 commit f04b12d
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 259 deletions.
2 changes: 1 addition & 1 deletion cmd/dfdaemon/app/root_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func (ts *rootTestSuite) TestNodeFlag() {
r.NotNil(readConfigFile(v, rootCmd))
cfg, err := getConfigFromViper(rootCmd, v)
r.Nil(err)
r.EqualValues([]string{}, cfg.SuperNodes)
r.EqualValues([]string(nil), cfg.SuperNodes)
}

// when --node flag is set, should always use the flag
Expand Down
4 changes: 2 additions & 2 deletions docs/cli_reference/dfdaemon.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ dfdaemon [flags]

```
--certpem string cert.pem file path
--config string the path of dfdaemon's configuration file (default "/go/src/github.com/dragonflyoss/Dragonfly/bin/linux_amd64/dfget")
--dfpath string dfget path (default "/mnt/d/code/阿里编程之夏/Dragonfly/bin/linux_amd64/dfget")
--config string the path of dfdaemon's configuration file (default "/etc/dragonfly/dfdaemon.yml")
--dfpath string dfget path (default "/go/src/github.com/dragonflyoss/Dragonfly/bin/linux_amd64/dfget")
-h, --help help for dfdaemon
--hostIp string dfdaemon host ip, default: 127.0.0.1 (default "127.0.0.1")
--keypem string key.pem file path
Expand Down
44 changes: 25 additions & 19 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,44 +4,50 @@ go 1.12

require (
github.com/HuKeping/rbtree v0.0.0-20200208030951-29f0b79e84ed
github.com/PuerkitoBio/purell v0.0.0-20170829232023-f619812e3caf // indirect
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
github.com/asaskevich/govalidator v0.0.0-20170903095215-73945b6115bf // indirect
github.com/cpuguy83/go-md2man v1.0.7 // indirect
github.com/emirpasic/gods v1.12.0
github.com/go-check/check v0.0.0-20161208181325-20d25e280405
github.com/go-openapi/errors v0.19.6
github.com/go-openapi/runtime v0.19.20 // indirect
github.com/go-openapi/spec v0.19.9 // indirect
github.com/go-openapi/strfmt v0.19.5
github.com/go-openapi/swag v0.19.9
github.com/go-openapi/validate v0.19.10
github.com/go-openapi/analysis v0.0.0-20170813233457-8ed83f2ea9f0 // indirect
github.com/go-openapi/errors v0.0.0-20170426151106-03cfca65330d
github.com/go-openapi/jsonpointer v0.0.0-20170102174223-779f45308c19 // indirect
github.com/go-openapi/jsonreference v0.0.0-20161105162150-36d33bfe519e // indirect
github.com/go-openapi/loads v0.0.0-20170520182102-a80dea3052f0 // indirect
github.com/go-openapi/runtime v0.0.0-20170901133030-bf2ff8f71507 // indirect
github.com/go-openapi/spec v0.0.0-20170811033243-3faa0055dbbf // indirect
github.com/go-openapi/strfmt v0.0.0-20171222154016-4dd3d302e100
github.com/go-openapi/swag v0.0.0-20170606142751-f3f9494671f9
github.com/go-openapi/validate v0.0.0-20170705144413-8a82927c942c
github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef
github.com/golang/mock v1.4.4
github.com/google/gopacket v1.1.18
github.com/golang/mock v1.4.0
github.com/gorilla/context v0.0.0-20181012153548-51ce91d2eadd // indirect
github.com/gorilla/mux v1.5.0
github.com/gorilla/schema v1.1.0
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/magiconair/properties v1.8.1 // indirect
github.com/mitchellh/mapstructure v1.3.3
github.com/mailru/easyjson v0.0.0-20170902151237-2a92e673c9a6 // indirect
github.com/mitchellh/mapstructure v1.1.2
github.com/openacid/low v0.1.10
github.com/pborman/uuid v1.2.0
github.com/pkg/errors v0.8.1
github.com/pborman/uuid v0.0.0-20180122190007-c65b2f87fee3
github.com/pkg/errors v0.8.0
github.com/prashantv/gostub v1.0.0
github.com/prometheus/client_golang v0.9.3
github.com/russross/blackfriday v0.0.0-20171011182219-6d1ef893fcb0 // indirect
github.com/sirupsen/logrus v1.4.2
github.com/sirupsen/logrus v1.2.0
github.com/spf13/afero v1.2.2
github.com/spf13/cobra v0.0.3
github.com/spf13/cobra v0.0.0-20181021141114-fe5e611709b0
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/viper v1.4.0
github.com/stretchr/testify v1.6.1
github.com/stretchr/testify v1.3.0
github.com/valyala/fasthttp v1.3.0
github.com/willf/bitset v0.0.0-20190228212526-18bd95f470f9
go.mongodb.org/mongo-driver v1.3.5 // indirect
golang.org/x/net v0.0.0-20200707034311-ab3426394381 // indirect
golang.org/x/tools v0.0.0-20200806234136-990129eca547 // indirect
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550 // indirect
golang.org/x/net v0.0.0-20190620200207-3b0461eec859 // indirect
gopkg.in/gcfg.v1 v1.2.3
gopkg.in/mgo.v2 v2.0.0-20160818020120-3f83fa500528 // indirect
gopkg.in/natefinch/lumberjack.v2 v2.0.0
gopkg.in/warnings.v0 v0.1.2
gopkg.in/yaml.v2 v2.3.0
rsc.io/quote/v3 v3.1.0 // indirect
gopkg.in/yaml.v2 v2.2.2
)
Loading

0 comments on commit f04b12d

Please sign in to comment.