Skip to content

Commit

Permalink
bump go cient
Browse files Browse the repository at this point in the history
  • Loading branch information
zreigz committed Apr 24, 2024
1 parent 0b493e7 commit 0c8e3e6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ require (
github.com/orcaman/concurrent-map/v2 v2.0.1
github.com/osteele/liquid v1.3.2
github.com/pkg/errors v0.9.1
github.com/pluralsh/console-client-go v0.1.18
github.com/pluralsh/console-client-go v0.4.0
github.com/pluralsh/controller-reconcile-helper v0.0.4
github.com/pluralsh/gophoenix v0.1.3-0.20231201014135-dff1b4309e34
github.com/pluralsh/polly v0.1.7
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -526,8 +526,8 @@ github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINE
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg=
github.com/pluralsh/console-client-go v0.1.18 h1:wJMr5LTDlMVZoYAEYNVZcSCkS+SV3xAAuApPLzhSW6g=
github.com/pluralsh/console-client-go v0.1.18/go.mod h1:eyCiLA44YbXiYyJh8303jk5JdPkt9McgCo5kBjk4lKo=
github.com/pluralsh/console-client-go v0.4.0 h1:lgKaVGi8jB7S8wFF6L3P6H/4Xc88e4FozhyW58O1w3Q=
github.com/pluralsh/console-client-go v0.4.0/go.mod h1:eyCiLA44YbXiYyJh8303jk5JdPkt9McgCo5kBjk4lKo=
github.com/pluralsh/controller-reconcile-helper v0.0.4 h1:1o+7qYSyoeqKFjx+WgQTxDz4Q2VMpzprJIIKShxqG0E=
github.com/pluralsh/controller-reconcile-helper v0.0.4/go.mod h1:AfY0gtteD6veBjmB6jiRx/aR4yevEf6K0M13/pGan/s=
github.com/pluralsh/gophoenix v0.1.3-0.20231201014135-dff1b4309e34 h1:ab2PN+6if/Aq3/sJM0AVdy1SYuMAnq4g20VaKhTm/Bw=
Expand Down
4 changes: 3 additions & 1 deletion pkg/controller/stacks/reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func (n *StackReconciler) Poll(ctx context.Context) (done bool, err error) {
func (n *StackReconciler) Reconcile(ctx context.Context, id string) (reconcile.Result, error) {
logger := log.FromContext(ctx)
logger.Info("attempting to sync stack run", "id", id)
_, err := n.StackCache.Get(id)
stackRun, err := n.StackCache.Get(id)
if err != nil {
if clienterrors.IsNotFound(err) {
logger.Info("stack run already deleted", "id", id)
Expand All @@ -102,5 +102,7 @@ func (n *StackReconciler) Reconcile(ctx context.Context, id string) (reconcile.R
return reconcile.Result{}, err
}

fmt.Printf(stackRun.ID)

return reconcile.Result{}, nil
}

0 comments on commit 0c8e3e6

Please sign in to comment.