@@ -1392,7 +1392,7 @@ func InitializeOntapAPI(
13921392 return nil , err
13931393 }
13941394
1395- // Is the ONTAP version lesser than or equal to "9.17 .x"?
1395+ // Is the ONTAP version lesser than or equal to "9.99 .x"?
13961396 IsZAPISupported , err := api .IsZAPISupported (ontapVer )
13971397 if err != nil {
13981398 return nil , err
@@ -1410,12 +1410,12 @@ func InitializeOntapAPI(
14101410 A. Existing or new users, who haven't set the useREST flag or set it to false, will use the ZAPI client by default,
14111411 overriding the `ontapAPI` var, thereby discarding the previously created REST client above.
14121412 B. If the user has set the useREST flag to true, the REST client created earlier is used.
1413- 3. If the ONTAP version lies between "9.15.1" and "9.17 .x":
1413+ 3. If the ONTAP version lies between "9.15.1" and "9.99 .x":
14141414 A. Both REST and ZAPI are supported. If the user has not set the useREST flag or set it to true,
14151415 the REST client created earlier is used.
14161416 B. If the user has set the useREST flag to false, a ZAPI client is created,
14171417 overriding the `ontapAPI` var, thereby discarding the previously created REST client above.
1418- 4. If the ONTAP version is greater than "9.17 .x":
1418+ 4. If the ONTAP version is greater than "9.99 .x":
14191419 A. ZAPI calls are not supported by ONTAP. In this case, if the user has set the useREST flag to false,
14201420 an error is returned.
14211421 B. Otherwise, the REST client created earlier is used by default.
0 commit comments