Skip to content

Commit dc215b7

Browse files
committed
Add no_run attributes
1 parent 2036590 commit dc215b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/config/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ impl Configuration {
2727
/// Returns a config includes authentication and cluster infomation from kubeconfig file.
2828
///
2929
/// # Example
30-
/// ```
30+
/// ```no_run
3131
/// use kubernetes::config;
3232
///
3333
/// let kubeconfig = config::load_kube_config()
@@ -83,7 +83,7 @@ pub fn load_kube_config() -> Result<Configuration, Error> {
8383
/// It will return an error if called from out of kubernetes cluster.
8484
///
8585
/// # Example
86-
/// ```
86+
/// ```no_run
8787
/// use kubernetes::config;
8888
///
8989
/// let kubeconfig = config::incluster_config()

0 commit comments

Comments
 (0)