mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-26 12:46:06 +00:00
follow our go code style: error->err
This commit is contained in:
@@ -24,8 +24,8 @@ func TestSchedulerConfiguratorFailure(t *testing.T) {
|
||||
sc := &schedulerConfigurator{
|
||||
// policyfile and algorithm are intentionally undefined.
|
||||
}
|
||||
_, error := sc.Create()
|
||||
if error == nil {
|
||||
_, err := sc.Create()
|
||||
if err == nil {
|
||||
t.Fatalf("Expected error message when creating with incomplete configurator.")
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user