Unverified Commit a23a3e2d authored by felix-thinkingdata's avatar felix-thinkingdata Committed by GitHub
Browse files

fix bug #3165 get resource.storage.type value toUpperCase (#3166)



Co-authored-by: default avatardailidong <dailidong66@gmail.com>
parent ae902e23
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -72,7 +72,7 @@ public class PropertyUtils {
     * @return  judge whether resource upload startup
     */
    public static Boolean getResUploadStartupState(){
        String resUploadStartupType = PropertyUtils.getString(Constants.RESOURCE_STORAGE_TYPE);
        String resUploadStartupType = PropertyUtils.getString(Constants.RESOURCE_STORAGE_TYPE).toUpperCase();
        ResUploadType resUploadType = ResUploadType.valueOf(resUploadStartupType);
        return resUploadType == ResUploadType.HDFS || resUploadType == ResUploadType.S3;
    }