diff options
Diffstat (limited to 'src/mongo/gotools/src/github.com/mongodb/mongo-tools/legacy/options/options_fp_disabled.go')
-rw-r--r-- | src/mongo/gotools/src/github.com/mongodb/mongo-tools/legacy/options/options_fp_disabled.go | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/mongo/gotools/src/github.com/mongodb/mongo-tools/legacy/options/options_fp_disabled.go b/src/mongo/gotools/src/github.com/mongodb/mongo-tools/legacy/options/options_fp_disabled.go deleted file mode 100644 index fc73c63d34f..00000000000 --- a/src/mongo/gotools/src/github.com/mongodb/mongo-tools/legacy/options/options_fp_disabled.go +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (C) MongoDB, Inc. 2014-present. -// -// Licensed under the Apache License, Version 2.0 (the "License"); you may -// not use this file except in compliance with the License. You may obtain -// a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 - -// +build !failpoints - -package options - -// EnableFailpoints removes the failpoints options -func EnableFailpoints(opts *ToolOptions) { - opt := opts.FindOptionByLongName("failpoints") - opt.LongName = "" -} |