From 39caf46fd7a7d9cab8264d05de8268adafdee386 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Imobach=20Gonz=C3=A1lez=20Sosa?= Date: Wed, 7 Feb 2024 12:18:00 +0000 Subject: [PATCH] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Knut Alejandro Anderssen González --- doc/autoyast.md | 2 +- service/lib/agama/autoyast/converter.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/autoyast.md b/doc/autoyast.md index 3a8c4da592..198c60ae98 100644 --- a/doc/autoyast.md +++ b/doc/autoyast.md @@ -119,7 +119,7 @@ things simple. ### `partitioning` By far, the most complex part of an AutoYaST profile. We can import the AutoYaST `partitioning` -section as is because the partitioning is handled by the same code in Agama and AutoyaST. +section as it is because the partitioning is handled by the same code in Agama and AutoyaST. However, we must implement a mechanism to convert to/from both profile types. diff --git a/service/lib/agama/autoyast/converter.rb b/service/lib/agama/autoyast/converter.rb index 97a39a18fa..ad7bdd0680 100755 --- a/service/lib/agama/autoyast/converter.rb +++ b/service/lib/agama/autoyast/converter.rb @@ -109,7 +109,7 @@ def tmp_profile_path ) end - # @return [Hash] D-Installer profile + # @return [Hash] Agama profile def export_profile(profile) users = Agama::AutoYaST::UsersConverter.new(profile) {