Refactor CurrentContextEntryPoint function
Currently it takes ClusterType as first parameter, however this parameter can be retrieved via appropriate function CurrentContextClusterType in the same module. Change-Id: I205fd7d00bf1745cada88d8fd972dac1dbe0fddf
This commit is contained in:
@@ -54,7 +54,7 @@ func GenerateBootstrapIso(settings *environment.AirshipCTLSettings) error {
|
||||
|
||||
// TODO (dukov) replace with the appropriate function once it's available
|
||||
// in document module
|
||||
root, err := globalConf.CurrentContextEntryPoint(config.Ephemeral, config.BootstrapPhase)
|
||||
root, err := globalConf.CurrentContextEntryPoint(config.BootstrapPhase)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user