From ee723a998378a89534058878e3fac8231acd35c5 Mon Sep 17 00:00:00 2001
From: Ian Howell <ian.howell0@gmail.com>
Date: Thu, 23 Jan 2020 10:48:53 -0600
Subject: [PATCH] Remove a redundant null check

This null check is no longer necessary, since manifest is guaranteed to
be non-null by the prior call to globalConf.CurrentContextBootstrapInfo

Change-Id: Ibec4eb7b7b993af39055d73861b5cf5c157c12a5
---
 pkg/bootstrap/isogen/command.go | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/pkg/bootstrap/isogen/command.go b/pkg/bootstrap/isogen/command.go
index e651cc8e5..0c6cfeff3 100644
--- a/pkg/bootstrap/isogen/command.go
+++ b/pkg/bootstrap/isogen/command.go
@@ -42,11 +42,6 @@ func GenerateBootstrapIso(settings *environment.AirshipCTLSettings, args []strin
 		return err
 	}
 
-	// TODO (dukov) This check should be implemented as part of the config  module
-	if manifest == nil {
-		return config.ErrMissingConfig{What: "manifest for currnet context not found"}
-	}
-
 	if err = verifyInputs(cfg); err != nil {
 		return err
 	}