Skip to content
This repository was archived by the owner on Jan 15, 2021. It is now read-only.

Commit 2b78878

Browse files
author
Huan Li
committed
fix mod file and IDE introduced errors.
1 parent 269da6d commit 2b78878

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ require (
2222
gopkg.in/yaml.v2 v2.2.8
2323
)
2424

25-
replace github.com/10gen/mgo => github.com/10gen/mgo v0.0.0-20181212170345-8c133fd1d0fc
25+
replace github.com/10gen/mgo.v2 => github.com/10gen/mgo v0.0.0-20181212170345-8c133fd1d0fc
2626

2727
replace github.com/spacemonkeygo/spacelog => github.com/spacemonkeygo/spacelog v0.0.0-20160606222522-f936fb050dc6
2828

internal/legacy/options/options_gssapi.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ func init() {
1313
}
1414

1515
func registerGSSAPIOptions(self *ToolOptions) error {
16-
_, err := self.parser.AddGroup("kerberos options", "", Kerberos)
16+
_, err := self.parser.AddGroup("kerberos options", "", self.Kerberos)
1717
if err != nil {
1818
return err
1919
}
20-
URI.AddKnownURIParameters(KnownURIOptionsKerberos)
20+
self.URI.AddKnownURIParameters(KnownURIOptionsKerberos)
2121
BuiltWithGSSAPI = true
2222
return nil
2323
}

internal/legacy/options/options_ssl.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ func init() {
1414
}
1515

1616
func registerSSLOptions(self *ToolOptions) error {
17-
_, err := self.parser.AddGroup("ssl options", "", SSL)
17+
_, err := self.parser.AddGroup("ssl options", "", self.SSL)
1818
if err != nil {
1919
return err
2020
}
2121
if self.enabledOptions.URI {
22-
URI.AddKnownURIParameters(KnownURIOptionsSSL)
22+
self.URI.AddKnownURIParameters(KnownURIOptionsSSL)
2323
}
2424
return nil
2525
}

0 commit comments

Comments
 (0)