- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for checkConfig (0.05 seconds)
-
cmd/config-common.go
return err } func saveConfig(ctx context.Context, store objectIO, configFile string, data []byte) error { return saveConfigWithOpts(ctx, store, configFile, data, ObjectOptions{MaxParity: true}) } func checkConfig(ctx context.Context, objAPI ObjectLayer, configFile string) error { if _, err := objAPI.GetObjectInfo(ctx, minioMetaBucket, configFile, ObjectOptions{}); err != nil { // Treat object not found as config not found.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Sep 18 17:00:54 GMT 2023 - 3.1K bytes - Click Count (0) -
cmd/iam.go
if !sys.Initialized() { return errServerNotInitialized } for _, v := range policy.DefaultPolicies { if v.Name == policyName { if err := checkConfig(ctx, globalObjectAPI, getPolicyDocPath(policyName)); err != nil && err == errConfigNotFound { return fmt.Errorf("inbuilt policy `%s` not allowed to be deleted", policyName) } } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Oct 15 17:00:45 GMT 2025 - 76.5K bytes - Click Count (0)