Skip to content

Commit

Permalink
Fix deletion of config
Browse files Browse the repository at this point in the history
  • Loading branch information
MiroslavRepka committed Jul 17, 2023
1 parent 4a143e2 commit f398736
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func (c *ContextBoxConnector) SaveWorkflowState(configName, clusterName string,

// DeleteConfig removes config from Claudie database via context-box.
func (c *ContextBoxConnector) DeleteConfig(config *pb.Config, contextBoxGrpcClient pb.ContextBoxServiceClient) error {
return cbox.DeleteConfig(contextBoxGrpcClient, &pb.DeleteConfigRequest{Id: config.Id, Type: pb.IdType_HASH})
return cbox.DeleteConfigFromDB(contextBoxGrpcClient, &pb.DeleteConfigRequest{Id: config.Id, Type: pb.IdType_HASH})
}

// Disconnect closes the underlying gRPC connection to context-box microservice
Expand Down

0 comments on commit f398736

Please sign in to comment.