File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -107,9 +107,9 @@ func fillMovedBlocks(body *hclwrite.Body, moveLabels []string) {
107107	}
108108}
109109
110- // createDefaultReplicationSpec  creates a default replication_specs for clusters without any 
110+ // createDefaultRepSpec  creates a default replication_specs for clusters without any 
111111// (e.g. upgraded from free tier). 
112- func  createDefaultReplicationSpec (resourceb  * hclwrite.Body , root  attrVals ) error  {
112+ func  createDefaultRepSpec (resourceb  * hclwrite.Body , root  attrVals ) error  {
113113	resourceb .SetAttributeValue (nClusterType , cty .StringVal (valClusterType ))
114114	configb  :=  hclwrite .NewEmptyFile ().Body ()
115115	hcl .SetAttrInt (configb , nPriority , valMaxPriority )
@@ -186,7 +186,7 @@ func processRepSpecsCluster(resourceb *hclwrite.Body, root attrVals) error {
186186	}
187187	repSpecBlocks  :=  collectBlocks (resourceb , nRepSpecs )
188188	if  len (repSpecBlocks ) ==  0  {
189- 		return  createDefaultReplicationSpec (resourceb , root )
189+ 		return  createDefaultRepSpec (resourceb , root )
190190	}
191191	dConfig , err  :=  processConfigsWithDynamicRegion (repSpecBlocks [0 ].Body (), root , false )
192192	if  err  !=  nil  {
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments