Skip to content

Commit

Permalink
fix wrongly removed namespace
Browse files Browse the repository at this point in the history
Signed-off-by: gauron99 <[email protected]>
  • Loading branch information
gauron99 committed Jan 30, 2024
1 parent a1a0840 commit 01a486b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/functions/client_int_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ func newClient(verbose bool) *fn.Client {
func del(t *testing.T, c *fn.Client, name string) {
t.Helper()
waitFor(t, c, name)
if err := c.Remove(context.Background(), fn.Function{Name: name}, false); err != nil {
if err := c.Remove(context.Background(), fn.Function{Name: name, Deploy: fn.DeploySpec{Namespace: DefaultNamespace}}, false); err != nil {
t.Fatal(err)
}
cli, _, err := docker.NewClient(client.DefaultDockerHost)
Expand Down

0 comments on commit 01a486b

Please sign in to comment.