Revert "Merge pull request #4997 from cherylj/fix-go-fmt" #5008

Merged
merged 1 commit into from Apr 6, 2016
Jump to file or symbol
Failed to load files and symbols.
+220 −240
Split
View
@@ -226,10 +226,10 @@ func (c *BootstrapCommand) Run(_ *cmd.Context) error {
}
err = c.ChangeConfig(func(config agent.ConfigSetter) error {
- // We'll try for mongo 3.2 first and fallback to
- // mongo 2.4 if the newer binaries are not available.
- if mongo.BinariesAvailable(mongo.Mongo32wt) {
- config.SetMongoVersion(mongo.Mongo32wt)
+ // We cannot set wired tiger as the storage because mongo
+ // shipped with ubuntu lacks js.
+ if mongo.BinariesAvailable(mongo.Mongo30wt) {
+ config.SetMongoVersion(mongo.Mongo30wt)
} else {
config.SetMongoVersion(mongo.Mongo24)
}
Oops, something went wrong.