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
This commit is contained in:
Ian Howell 2020-01-23 10:48:53 -06:00
parent f0a14cb4fd
commit ee723a9983

View File

@ -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
}