code review feedback

Signed-off-by: Steve Kriss <krisss@vmware.com>
This commit is contained in:
Steve Kriss
2019-02-11 16:21:49 -07:00
parent 86c5c25d13
commit 32835c63f6
7 changed files with 10 additions and 37 deletions
+1 -1
View File
@@ -458,7 +458,7 @@ func TestProcessRestore(t *testing.T) {
res.Status.Phase = api.RestorePhase(phase)
backupName, found, err := unstructured.NestedString(patchMap, "spec", "backupName")
if err == nil && found {
if found {
res.Spec.BackupName = backupName
}