Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CurrentTime (0.09 sec)

  1. cmd/iam-store.go

    		// Service accounts might not have expiration in older releases.
    		return nil
    	}
    
    	currentTime := time.Now().UTC()
    	minExpiration := currentTime.Add(minServiceAccountExpiry)
    	maxExpiration := currentTime.Add(maxServiceAccountExpiry)
    	if expirationInUTC.Before(minExpiration) || expirationInUTC.After(maxExpiration) {
    		return errInvalidSvcAcctExpiration
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
Back to top