Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for delServerConfigHistory (0.25 sec)

  1. cmd/admin-handlers-config-kv.go

    			return
    		}
    		for _, chEntry := range chEntries {
    			if err = delServerConfigHistory(ctx, objectAPI, chEntry.RestoreID); err != nil {
    				writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    				return
    			}
    		}
    	} else if err := delServerConfigHistory(ctx, objectAPI, restoreID); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. cmd/config.go

    		}
    		marker = res.NextMarker
    	}
    	sort.Slice(configHistory, func(i, j int) bool {
    		return configHistory[i].CreateTime.Before(configHistory[j].CreateTime)
    	})
    	return configHistory, nil
    }
    
    func delServerConfigHistory(ctx context.Context, objAPI ObjectLayer, uuidKV string) error {
    	historyFile := pathJoin(minioConfigHistoryPrefix, uuidKV+kvPrefix)
    	_, err := objAPI.DeleteObject(ctx, minioMetaBucket, historyFile, ObjectOptions{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 23 10:07:06 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top