Merge pull request #47408 from shiywang/follow-go-code-style
Automatic merge from submit-queue (batch tested with PRs 47416, 47408, 49697, 49860, 50162) follow our go code style: error->err Fixes https://github.com/kubernetes/kubernetes/issues/50189 ```release-note NONE ```
This commit is contained in:
@@ -194,8 +194,8 @@ func TestGetImageUser(t *testing.T) {
|
||||
i.Images[test.originalImage.name].Username = test.originalImage.username
|
||||
i.Images[test.originalImage.name].Uid = test.originalImage.uid
|
||||
|
||||
uid, username, error := m.getImageUser(test.originalImage.name)
|
||||
assert.NoError(t, error, "TestCase[%d]", j)
|
||||
uid, username, err := m.getImageUser(test.originalImage.name)
|
||||
assert.NoError(t, err, "TestCase[%d]", j)
|
||||
|
||||
if test.expectedImageUserValues.uid == (*int64)(nil) {
|
||||
assert.Equal(t, test.expectedImageUserValues.uid, uid, "TestCase[%d]", j)
|
||||
|
||||
Reference in New Issue
Block a user