Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#260 modified tink client name and desc #211

Merged
merged 1 commit into from
Jul 8, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions client/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,17 @@ func Setup() {
HardwareClient = hardware.NewHardwareServiceClient(conn)
}

// NewTinkerbellClient creates a new hardware client
func NewTinkerbellClient() (hardware.HardwareServiceClient, error) {
// TinkHardwareClient creates a new hardware client
func TinkHardwareClient() (hardware.HardwareServiceClient, error) {
conn, err := GetConnection()
if err != nil {
log.Fatal(err)
}
return hardware.NewHardwareServiceClient(conn), nil
}

// TinkerbellWorkflowClient creates a new workflow clients
func TinkerbellWorkflowClient() (workflow.WorkflowSvcClient, error) {
// TinkWorkflowClient creates a new workflow client
func TinkWorkflowClient() (workflow.WorkflowSvcClient, error) {
conn, err := GetConnection()
if err != nil {
log.Fatal(err)
Expand Down