Parcourir la source

Added "sync" import

Matt Bolt il y a 6 ans
Parent
commit
ccbadae379
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      cloud/provider.go

+ 2 - 1
cloud/provider.go

@@ -11,6 +11,7 @@ import (
 	"os"
 	"os"
 	"reflect"
 	"reflect"
 	"strings"
 	"strings"
+	"sync"
 
 
 	"k8s.io/klog"
 	"k8s.io/klog"
 
 
@@ -270,7 +271,7 @@ func configmapUpdate(c *CustomPricing, path string, a map[string]string) (*Custo
 			return nil, err
 			return nil, err
 		}
 		}
 	}
 	}
-	
+
 	configLock.Lock()
 	configLock.Lock()
 	defer configLock.Unlock()
 	defer configLock.Unlock()