Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for parseReleaseData (0.12 sec)

  1. cmd/update.go

    	return releaseTime, err
    }
    
    // parseReleaseData - parses release info file content fetched from
    // official minio download server.
    //
    // The expected format is a single line with two words like:
    //
    // fbe246edbd382902db9a4035df7dce8cb441357d minio.RELEASE.2016-10-07T01-16-39Z.<hotfix_optional>
    //
    // The second word must be `minio.` appended to a standard release tag.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  2. cmd/update_test.go

    			"minio.RELEASE.2016-10-07T01-16-39Z.customer-hotfix", false,
    		},
    	}
    
    	for i, testCase := range testCases {
    		sha256Sum, result, releaseInfo, err := parseReleaseData(testCase.data)
    		if !testCase.expectedErr {
    			if err != nil {
    				t.Errorf("error case %d: expected no error, got: %v", i+1, err)
    			}
    		} else if err == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    	}
    
    	content, err := downloadReleaseURL(u, updateTimeout, mode)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	sha256Sum, lrTime, releaseInfo, err := parseReleaseData(content)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	updateStatus := madmin.ServerUpdateStatusV2{
    		DryRun:  dryRun,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top