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
// update many fields bridgeRow.UUID = uuid bridgeRow.ExternalIds["baz"] = "foobar" bridgeRow.OtherConfig = map[string]string{"foo": "bar"} ops, err = suite.client.Where(bridgeRow).Update(bridgeRow) require.NoError(suite.T(), err) reply, err = suite.client.Transact(ops...) require.NoError(suite.T(), err) opErrs, err := ovsdb.CheckOperationResults(reply, ops) require.NoErrorf(suite.T(), err, "%+v", opErrs)
Fails with an error:
=== RUN TestOVSIntegrationTestSuite/TestUpdate ovs_integration_test.go:507: Error Trace: ovs_integration_test.go:507 Error: Received unexpected error: 1 ovsdb operations failed Test: TestOVSIntegrationTestSuite/TestUpdate Messages: [constraint violation: Cannot update immutable column name in table Bridge.]
The immutable fields should be removed before from the ovsdb.Row before it's sent to the server
ovsdb.Row
The text was updated successfully, but these errors were encountered:
client: Filter immutable fields from Update
541f3ee
Fixes: ovn-org#203 Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
29f6ede
cf4fcb5
amorenoz
Successfully merging a pull request may close this issue.
Fails with an error:
The immutable fields should be removed before from the
ovsdb.Row
before it's sent to the serverThe text was updated successfully, but these errors were encountered: