fix(go): fix go client (#6561)
* add jq to flake Signed-off-by: pyranota <pyra@duck.com> * make build.sh compatible with non-FHS complient systems Signed-off-by: pyranota <pyra@duck.com> * fix client Signed-off-by: pyranota <pyra@duck.com> --------- Signed-off-by: pyranota <pyra@duck.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
mkdir openapi
|
||||
|
||||
@@ -43,7 +43,7 @@ func GetVariable(path string) (string, error) {
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
res, err := client.Client.GetVariableValueWithResponse(context.Background(), client.Workspace, path)
|
||||
res, err := client.Client.GetVariableValueWithResponse(context.Background(), client.Workspace, path, &api.GetVariableValueParams{})
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user