Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for saveConfig (0.06 sec)

  1. cmd/erasure-healing_test.go

    	if err != nil {
    		t.Fatalf("Failed to complete multipart upload - got: %v", err)
    	}
    
    	cfgFile := pathJoin(bucketMetaPrefix, bucket, ".test.bin")
    	if err = saveConfig(ctx, objLayer, cfgFile, data); err != nil {
    		t.Fatal(err)
    	}
    
    	hopts := madmin.HealOpts{
    		DryRun:   false,
    		Remove:   true,
    		ScanMode: madmin.HealNormalScan,
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    	}
    	buf, err := json.Marshal(sdata)
    	if err != nil {
    		return err
    	}
    
    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    		return errServerNotInitialized
    	}
    
    	if err = saveConfig(ctx, objAPI, getSRStateFilePath(), buf); err != nil {
    		return err
    	}
    
    	for _, err := range globalNotificationSys.ReloadSiteReplicationConfig(ctx) {
    		replLogIf(ctx, err)
    	}
    
    	c.Lock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    	buf, err := brs.MarshalMsg(data)
    	if err != nil {
    		return err
    	}
    
    	configFile := path.Join(bucketMetaPrefix, bucket, replicationDir, resyncFileName)
    	return saveConfig(ctx, objectAPI, configFile, buf)
    }
    
    // getReplicationDiff returns un-replicated objects in a channel.
    // If a non-nil channel is returned it must be consumed fully or
    // the provided context must be canceled.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
Back to top