node/src/main/java/io/fabric8/jube/local/NodeHelper.java
public static Map<String, String> createEnvironmentVariableMap(List<EnvVar> envList) {
        Map<String, String> answer = new HashMap<>();
        if (envList != null) {
            for (EnvVar env : envList) {
                String name = env.getName();
                String value = env.getValue();
                if (Strings.isNotBlank(name)) {
                    answer.put(name, value);
                }
            }
        }
        return answer;
    }
/**
     * Converts a possibly null list of Env objects into a Map of environment variables
     */
Converts a possibly null list of Env objects into a Map of environment variables
Converts a possibly null list of Env objects into a Map of environment variables
public static Map<String, String> createEnvironmentVariableMap(List<EnvVar> envList) {
        Map<String, String> answer = new HashMap<>();
        if (envList != null) {
            for (EnvVar env : envList) {
                String name = env.getName();
                String value = env.getValue();
                if (Strings.isNotBlank(name)) {
                    answer.put(name, value);
                }
            }
        }
        return answer;
    }
public static Map < String , String > createEnvironmentVariableMap ( List < EnvVar > envList ) { Map < String , String > answer = new HashMap < > ( ) ; if ( envList != null ) { for ( EnvVar env : envList ) { String name = env . getName ( ) ; String value = env . getValue ( ) ; if ( Strings . isNotBlank ( name ) ) { answer . put ( name , value ) ; } } } return answer ; }
Converts a possibly null list of Env objects into a Map of environment variables
Converts a possibly null list of Env objects into a Map of environment variables