diff --git a/cmd/config.go b/cmd/config.go index 509d89458..d6022df8e 100644 --- a/cmd/config.go +++ b/cmd/config.go @@ -123,6 +123,7 @@ func configQuery(ctx context.Context) (*buildConfigResponse, error) { } func validateConfig(cmd *cobra.Command, args []string) error { + ctx := context.Background() response, err := configQuery(ctx) @@ -140,6 +141,7 @@ func validateConfig(cmd *cobra.Command, args []string) error { func expandConfig(cmd *cobra.Command, args []string) error { ctx := context.Background() + response, err := configQuery(ctx) if err != nil {