We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run command "make run" to start the operator run into issue that looks similar to this
// /home/sadath/go/bin/controller-gen rbac:roleName=mongodb-operator-role crd webhook paths="./..." output:crd:artifacts:config=config/crd/bases // /home/sadath/go/bin/controller-gen object:headerFile="hack/boilerplate.go.txt" paths="./..." // go fmt ./... // go vet ./... // # mongodb-operator/mongo // mongo/mongo.go:77:3: go.mongodb.org/mongo-driver/bson/primitive.E struct literal uses unkeyed fields // mongo/mongo.go:77:35: go.mongodb.org/mongo-driver/bson/primitive.E struct literal uses unkeyed fields // // mongo/mongo.go:104:58: go.mongodb.org/mongo-driver/bson/primitive.E struct literal uses unkeyed fields // make: *** [Makefile:86: vet] Error 1
Solution to fix this issue is to add Key and Value for running db command for user and role for Example
change this
{"createUser", monitoringUser}, { "pwd", params.Password}
To
{Key: "createUser", Value: monitoringUser}, {Key: "pwd", Value: params.Password}
The text was updated successfully, but these errors were encountered:
Added pr #68
Sorry, something went wrong.
No branches or pull requests
Run command "make run" to start the operator run into issue that looks similar to this
Solution to fix this issue is to add Key and Value for running db command for user and role
for Example
change this
To
The text was updated successfully, but these errors were encountered: