Skip to content

Commit

Permalink
USE FUNCTION instead of UDC in error message hint (#3846)
Browse files Browse the repository at this point in the history
  • Loading branch information
idodod authored Feb 28, 2024
1 parent 19a4e5d commit 0a96ea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/llbutil/secretprovider/secrets.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func (sp *secretProvider) GetSecret(ctx context.Context, req *secrets.GetSecretR

return nil, hint.Wrap(errors.WithStack(errors.Wrapf(secrets.ErrNotFound, "unable to lookup secret %q", v.Get("name"))),
"Make sure to set the project at the top of the Earthfile by using the PROJECT command.",
"Note, if this secret was called from a UDC, the project needs to be set in the Earthfile that calls the UDC.")
"Note, if this secret was called from a FUNCTION, the project needs to be set in the Earthfile that calls the FUNCTION.")

}

Expand Down

0 comments on commit 0a96ea4

Please sign in to comment.