Unverified Commit dca968b0 authored by Kubernetes Prow Robot's avatar Kubernetes Prow Robot Committed by GitHub

Merge pull request #76381 from rojkov/wrong-key

kubeadm: use correct expected key when checking test results
parents ae1e4769 2d77d9a5
......@@ -364,7 +364,7 @@ func TestWriteKeyFilesIfNotExist(t *testing.T) {
}
//TODO: check if there is a better method to compare keys
if resultingKey.D == key.D {
if resultingKey.D == test.expectedKey.D {
t.Error("created key does not match expected key")
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment