Skip to content

Commit 99a1c73

Browse files
committed
f
1 parent def2784 commit 99a1c73

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

api/integration/util.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ func NewTestInterceptorFuncs() interceptor.Funcs {
6262
func NewTargetLinuxAPIWithReleaseData(t *testing.T, mode types.Mode, opts ...api.Option) *api.API {
6363
password := "password"
6464
passwordHash, err := bcrypt.GenerateFromPassword([]byte(password), 10)
65+
require.NoError(t, err)
6566

6667
cfg := types.APIConfig{
6768
InstallTarget: types.InstallTargetLinux,
@@ -84,6 +85,7 @@ func NewTargetLinuxAPIWithReleaseData(t *testing.T, mode types.Mode, opts ...api
8485
func NewTargetKubernetesAPIWithReleaseData(t *testing.T, mode types.Mode, opts ...api.Option) *api.API {
8586
password := "password"
8687
passwordHash, err := bcrypt.GenerateFromPassword([]byte(password), 10)
88+
require.NoError(t, err)
8789

8890
cfg := types.APIConfig{
8991
InstallTarget: types.InstallTargetKubernetes,

0 commit comments

Comments
 (0)