Skip to content

Commit

Permalink
fixing url.go function (#57)
Browse files Browse the repository at this point in the history
* fixing url.go function

---------

Co-authored-by: lukasz.widera@vshn.ch <lukasz.widera@vshn.ch>
  • Loading branch information
wejdross and lukasz.widera@vshn.ch authored Aug 11, 2023
1 parent 96fe9fb commit 367e2f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/comp-functions/functions/vshn-postgres-func/url.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func AddUrlToConnectionDetails(ctx context.Context, iof *runtime.Runtime) runtim

err = iof.Observed.GetFromObject(ctx, s, connectionSecretResourceName)
if err != nil {
return runtime.NewFatalErr(ctx, "Cannot get connection secret object", err)
return runtime.NewWarning(ctx, "Cannot get connection secret object")
}

log.Info("Setting POSTRESQL_URL env variable into connection secret")
Expand Down

0 comments on commit 367e2f8

Please sign in to comment.