- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for checkConfig (0.04 sec)
-
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.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Sep 18 17:00:54 UTC 2023 - 3.1K bytes - Viewed (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) } } }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Oct 15 17:00:45 UTC 2025 - 76.5K bytes - Viewed (0)