fix typo
This commit is contained in:
1 parent
81b17ef4fd
commit
c89dd86a2e
1 file changed
+1
-1
@@ -84,7 +84,7 @@ func AdminAuthOptions(cfg *Config, skipMacaroons bool) ([]grpc.DialOption,
|
|||||||
|
|
||||||
// Get the admin macaroon if macaroons are active.
|
// Get the admin macaroon if macaroons are active.
|
||||||
if !skipMacaroons && !cfg.NoMacaroons {
|
if !skipMacaroons && !cfg.NoMacaroons {
|
||||||
// Load the adming macaroon file.
|
// Load the admin macaroon file.
|
||||||
macBytes, err := ioutil.ReadFile(cfg.AdminMacPath)
|
macBytes, err := ioutil.ReadFile(cfg.AdminMacPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("unable to read macaroon "+
|
return nil, fmt.Errorf("unable to read macaroon "+
|
||||||
|
|||||||
Reference in new issue
Block a user