Create Client and update Errors for client daemon commands (#4011)

* Create a client cache daemon client

* Fix error formatting for the client cache cmds
This commit is contained in:
Todd authored and Johan Brandhorst-Satzkorn committed 2024-01-05 07:43:20 -08:00
1 parent 8af20349e7
commit b71d134e06
17 files changed
+500 -273

No files matched your search

@@ -103,7 +103,7 @@ func (w *CommandWrapper) addTokenToCache(ctx context.Context, token string) bool
return false
}
apiErr, err := com.Add(ctx, client, keyringType, tokName)
_, apiErr, err := com.Add(ctx, client, keyringType, tokName)
return err == nil && apiErr == nil
}