Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation into lib/autofs_utils.pm #8350

Merged
merged 1 commit into from Sep 25, 2019
Merged

Add documentation into lib/autofs_utils.pm #8350

merged 1 commit into from Sep 25, 2019

Conversation

Zaoliang
Copy link
Contributor

@Zaoliang Zaoliang commented Sep 2, 2019

@asdil12
Copy link
Member

asdil12 commented Sep 23, 2019

Please rebase.

Add documentation into lib/autofs_utils.pm
@SergioAtSUSE SergioAtSUSE merged commit 02b9533 into os-autoinst:master Sep 25, 2019
@@ -18,6 +23,13 @@ my $test_mount_dir = '/mnt/test_autofs_local';
my $file_to_mount = '/tmp/test-iso.iso';
my $test_conf_file_content = "echo iso -fstype=auto,ro :$file_to_mount > $test_conf_file";

=head2 setup_autofs_server

setup_autofs_server();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function takes arguments:

Suggested change
setup_autofs_server();
setup_autofs_server([autofs_map_file => $autofs_map_file], [autofs_conf_file => $autofs_conf_file], [test_mount_dir => $test_mount_dir], [test_conf_file => $test_conf_file], [test_conf_file_content => $test_conf_file_content]);

... that should also be described...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants