Explorar el Código

rename method

Jonathan Turner hace 8 años
padre
commit
ec3b61bd64
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      credentials/ccache.go

+ 2 - 2
credentials/ccache.go

@@ -68,8 +68,8 @@ type credential struct {
 	SecondTicket []byte
 }
 
-// Load a credential cache file into a CCache type.
-func Load(cpath string) (CCache, error) {
+// LoadCCache loads a credential cache file into a CCache type.
+func LoadCCache(cpath string) (CCache, error) {
 	k, err := ioutil.ReadFile(cpath)
 	if err != nil {
 		return CCache{}, err