Skip to content

Commit

Permalink
fix: resolve conflict
Browse files Browse the repository at this point in the history
Signed-off-by: namkyu1999 <[email protected]>
  • Loading branch information
namkyu1999 committed May 10, 2024
1 parent a20aa4f commit 39120d7
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions chaoscenter/graphql/server/pkg/chaoshub/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,13 +133,8 @@ func (c *chaosHubService) AddRemoteChaosHub(ctx context.Context, chaosHub model.
if err != nil {
return nil, err
}
<<<<<<< HEAD
if IsExist == true {
return nil, errors.New("name already exists")
=======
if IsExist {
return nil, errors.New("Name Already exists")
>>>>>>> 53c11651443d0f41515b30237647a18ecf1c2bdf
}
description := ""
if chaosHub.Description != nil {
Expand Down Expand Up @@ -207,13 +202,8 @@ func (c *chaosHubService) SaveChaosHub(ctx context.Context, chaosHub model.Creat
if err != nil {
return nil, err
}
<<<<<<< HEAD
if IsExist == true {
return nil, errors.New("name already exists")
=======
if IsExist {
return nil, errors.New("Name Already exists")
>>>>>>> 53c11651443d0f41515b30237647a18ecf1c2bdf
}

// Initialize a UID for new Hub.
Expand Down

0 comments on commit 39120d7

Please sign in to comment.