File tree Expand file tree Collapse file tree 4 files changed +20
-5
lines changed Expand file tree Collapse file tree 4 files changed +20
-5
lines changed Original file line number Diff line number Diff line change 1+ # Number of days of inactivity before an issue becomes stale
2+ daysUntilStale : 30
3+ # Number of days of inactivity before a stale issue is closed
4+ daysUntilClose : 7
5+ # Issues with these labels will never be considered stale
6+ exemptLabels :
7+ - security
8+ # Label to use when marking an issue as stale
9+ staleLabel : stale
10+ # Comment to post when marking an issue as stale. Set to `false` to disable
11+ markComment : >
12+ This issue has been automatically marked as stale because it has not had
13+ recent activity. It will be closed if no further activity occurs. Thank you
14+ for your contributions.
15+ # Comment to post when closing a stale issue. Set to `false` to disable
16+ closeComment : false
Original file line number Diff line number Diff line change @@ -18,7 +18,9 @@ define ENVS_STATIC
1818 CGO_ENABLED=$(CGO_ENABLED )
1919endef
2020
21- BUILD_FLAGS=-mod =vendor -tags gssapi
21+ # TODO (jcru) Could not figure out how to compile this without CGO. We don't need gssapi support.
22+ # BUILD_FLAGS=-mod=vendor -tags gssapi
23+ BUILD_FLAGS=-mod =vendor
2224versionpath? =github.com/percona/percona-backup-mongodb/version
2325LDFLAGS = -X $(versionpath ) .gitCommit=$(GITCOMMIT ) -X $(versionpath ) .gitBranch=$(GITBRANCH ) -X $(versionpath ) .buildTime=$(BUILDTIME ) -X $(versionpath ) .version=$(VERSION )
2426LDFLAGS_STATIC =$(LDFLAGS ) -extldflags "-static"
@@ -92,4 +94,4 @@ install-pbm-static:
9294install-agent-static :
9395 $(ENVS_STATIC ) go install -ldflags=" $( LDFLAGS_STATIC) " $(BUILD_FLAGS ) ./cmd/pbm-agent
9496install-stest-static :
95- $(ENVS_STATIC ) go install -ldflags=" $( LDFLAGS_STATIC) " $(BUILD_FLAGS ) ./cmd/pbm-speed-test
97+ $(ENVS_STATIC ) go install -ldflags=" $( LDFLAGS_STATIC) " $(BUILD_FLAGS ) ./cmd/pbm-speed-test
Original file line number Diff line number Diff line change 77 "os"
88 "runtime"
99 "strconv"
10- "strings"
1110
1211 "github.com/alecthomas/kingpin"
1312 "github.com/pkg/errors"
@@ -53,7 +52,6 @@ func main() {
5352}
5453
5554func runAgent (mongoURI string , dumpConns int ) error {
56- mongoURI = "mongodb://" + strings .Replace (mongoURI , "mongodb://" , "" , 1 )
5755
5856 ctx , cancel := context .WithCancel (context .Background ())
5957 defer cancel ()
Original file line number Diff line number Diff line change @@ -224,7 +224,6 @@ type PBM struct {
224224// In the sharded cluster both agents and ctls should have a connection to ConfigServer replica set in order to communicate via PBM collections.
225225// If agent's or ctl's local node is not a member of CongigServer, after discovering current topology connection will be established to ConfigServer.
226226func New (ctx context.Context , uri , appName string ) (* PBM , error ) {
227- uri = "mongodb://" + strings .Replace (uri , "mongodb://" , "" , 1 )
228227
229228 client , err := connect (ctx , uri , appName )
230229 if err != nil {
You can’t perform that action at this time.
0 commit comments